StateChangeEventArgs(ConnectionState, ConnectionState) Construtor

Definição

Inicializa uma nova instância da classe StateChangeEventArgs quando são fornecidos o estado original e o estado atual do objeto.

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)

Parâmetros

originalState
ConnectionState

Um dos valores de ConnectionState.

currentState
ConnectionState

Um dos valores de ConnectionState.

Aplica-se a