StateChangeEventArgs Constructor (ConnectionState, ConnectionState)
.NET Framework (current version)
Initializes a new instance of the StateChangeEventArgs class, when given the original state and the current state of the object.
Assembly: System.Data (in System.Data.dll)
public:
StateChangeEventArgs(
ConnectionState originalState,
ConnectionState currentState
)
Parameters
- originalState
-
Type:
System.Data::ConnectionState
One of the ConnectionState values.
- currentState
-
Type:
System.Data::ConnectionState
One of the ConnectionState values.
Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Available since 10
.NET Framework
Available since 1.1
Show: