Share via


DataConnectionStateChangedEventArgs Constructor

Class constructor. Initializes a new instance of the DataConnectionStateChangedEventArgs class and provides the old and new states.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Public Sub New ( _
    oldState As DataConnectionState, _
    newState As DataConnectionState _
)
public DataConnectionStateChangedEventArgs(
    DataConnectionState oldState,
    DataConnectionState newState
)
public:
DataConnectionStateChangedEventArgs(
    DataConnectionState oldState, 
    DataConnectionState newState
)
new : 
        oldState:DataConnectionState * 
        newState:DataConnectionState -> DataConnectionStateChangedEventArgs
public function DataConnectionStateChangedEventArgs(
    oldState : DataConnectionState, 
    newState : DataConnectionState
)

Parameters

.NET Framework Security

See Also

Reference

DataConnectionStateChangedEventArgs Class

Microsoft.VisualStudio.Data Namespace

DataConnectionState