StateChangeEventArgs Constructor (ConnectionState, ConnectionState)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

new : 
        originalState:ConnectionState *
        currentState:ConnectionState -> StateChangeEventArgs

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: