Bagikan melalui


StateChangeEventArgs(ConnectionState, ConnectionState) Konstruktor

Definisi

Menginisialisasi instans StateChangeEventArgs baru kelas, ketika diberikan status asli dan status objek saat ini.

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)

Parameter

originalState
ConnectionState

Salah ConnectionState satu nilai.

currentState
ConnectionState

Salah ConnectionState satu nilai.

Berlaku untuk