Udostępnij za pośrednictwem


StateChangeEventArgs(ConnectionState, ConnectionState) Konstruktor

Definicja

Inicjuje StateChangeEventArgs nowe wystąpienie klasy, gdy zostanie podany stan oryginalny i bieżący stan obiektu.

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

ConnectionState Jedna z wartości.

currentState
ConnectionState

ConnectionState Jedna z wartości.

Dotyczy