PowerTCP Emulation for .NET
UserState Event




Raised when Marshal(String,Object) is used.
Syntax
Public Event UserState As EventHandler(Of UserStateEventArgs)
Dim instance As ComponentBase
Dim handler As EventHandler(Of UserStateEventArgs)
 
AddHandler instance.UserState, handler
public event EventHandler<UserStateEventArgs> UserState
public: __event EventHandler<UserStateEventArgs*>* UserState
public:
event EventHandler<UserStateEventArgs^>^ UserState
Event Data

The event handler receives an argument of type UserStateEventArgs containing data related to this event. The following UserStateEventArgs properties provide information specific to this event.

PropertyDescription
Message Returns the message argument provided by the Marshal method.  
UserState Returns the user state argument provided by the Marshal method.  
Remarks
See the SynchronizingObject property for information on updating UI controls in your event handler.
See Also

Reference

ComponentBase Class
ComponentBase Members


PowerTCP Emulation for .NET Documentation Version 4.7
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic