DbConnection.StateChange DbConnection.StateChange DbConnection.StateChange DbConnection.StateChange Event

定義

イベントの状態が変更したときに発生します。Occurs when the state of the event changes.

public:
 virtual event System::Data::StateChangeEventHandler ^ StateChange;
public virtual event System.Data.StateChangeEventHandler StateChange;
member this.StateChange : System.Data.StateChangeEventHandler 
Public Overridable Custom Event StateChange As StateChangeEventHandler 

注釈

StateChangeイベントは、イベントの状態が closed から opened に変更されるか、または opened から closed に変更されるときに発生します。The StateChange event occurs when the state of the event changes from closed to opened, or opened to closed.

適用対象

こちらもご覧ください