Sdílet prostřednictvím


StateChangeEventArgs(ConnectionState, ConnectionState) Konstruktor

Definice

Inicializuje novou instanci StateChangeEventArgs třídy, pokud je zadán původní stav a aktuální stav objektu.

public:
 StateChangeEventArgs(System::Data::ConnectionState originalState, System::Data::ConnectionState currentState);
public StateChangeEventArgs (System.Data.ConnectionState originalState, System.Data.ConnectionState currentState);
new System.Data.StateChangeEventArgs : System.Data.ConnectionState * System.Data.ConnectionState -> System.Data.StateChangeEventArgs
Public Sub New (originalState As ConnectionState, currentState As ConnectionState)

Parametry

originalState
ConnectionState

Jedna z ConnectionState hodnot.

currentState
ConnectionState

Jedna z ConnectionState hodnot.

Platí pro