PowerTCP Emulation for .NET CF
Marshal(Object) Method
See Also  Send comments on this topic.
Dart.Common Namespace > ComponentBase Class > Marshal Method : Marshal(Object) Method




userState
The user state information to be marshaled.
Marshals user state information to the UI thread.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Marshal( _
   ByVal userState As Object _
) 
Visual Basic (Usage)Copy Code
Dim instance As ComponentBase
Dim userState As Object
 
instance.Marshal(userState)
C# 
public void Marshal( 
   object userState
)
Managed Extensions for C++ 
public: void Marshal( 
   Object* userState
) 
C++/CLI 
public:
void Marshal( 
   Object^ userState
) 

Parameters

userState
The user state information to be marshaled.

Remarks

This method can be used to marshal user state information from a worker thread back to the UI thread for typical display purposes. It calls the OnUserState method, which raises the UserState event.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.