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 Sub New (
	originalState As ConnectionState,
	currentState As ConnectionState
)

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: