'Declaration Public Event StateChange As StateChangeEventHandler
public event StateChangeEventHandler StateChange
Event Data
The event handler receives an argument of type StateChangeEventArgs containing data related to this event. The following StateChangeEventArgs properties provide information specific to this event.
Property | Description |
---|---|
CurrentState | Gets the new state of the connection. The connection object will be in the new state already when the event is fired. |
OriginalState | Gets the original state of the connection. |
See Also