System.Data.Common.DbConnection.StateChange Event

Occurs when the state of the event changes.

Syntax

public virtual event System.Data.StateChangeEventHandler StateChange

Remarks

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

Requirements

Namespace: System.Data.Common
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0