Compartir a través de


StateChangeEventArgs(ConnectionState, ConnectionState) Constructor

Definición

Inicializa una nueva instancia de la clase StateChangeEventArgs cuando se especifican los estados original y actual del 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

Uno de los valores de ConnectionState.

currentState
ConnectionState

Uno de los valores de ConnectionState.

Se aplica a