Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ComponentBase Dim userState As Object instance.Marshal(userState) |
Parameters
- userState
- The user state information to be marshaled.
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.
Target Platforms: Microsoft .NET Framework 2.0