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.Initializes a new instance of the StateChangeEventArgs class, when given the original state and the current state of the object.

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.One of the ConnectionState values.

currentState
ConnectionState

Um dos valores de ConnectionState.One of the ConnectionState values.

Aplica-se a