StateChangeEventArgs Constructor

StateChangeEventArgs Constructor (ConnectionState, ConnectionState)

 

Initializes a new instance of the StateChangeEventArgs class, when given the original state and the current state of the object.

Namespace:   System.Data
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
Return to top
Show:
© 2016 Microsoft