DataConnector | ComponentOne
C1.AdoNet.D365S Assembly / C1.DataConnector.AdoNet Namespace / DbConnectionWrap<TInnerConnection,TInnerCommand,TInnerParameter> Class / StateChange Event

In This Topic
    StateChange Event (DbConnectionWrap<TInnerConnection,TInnerCommand,TInnerParameter>)
    In This Topic
    StateChange event
    Syntax
    '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.

    PropertyDescription
    Gets the new state of the connection. The connection object will be in the new state already when the event is fired.  
    Gets the original state of the connection.  
    See Also