DbConnection.StateChange Event

 

Occurs when the state of the event changes.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

abstract StateChange : IEvent<StateChangeEventHandler,
    StateChangeEventArgs>
override StateChange : IEvent<StateChangeEventHandler,
    StateChangeEventArgs>

The StateChange event occurs when the state of the event changes from closed to opened, or opened to closed.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top
Show: