Partager via


DataConnectionStateChangedEventArgs Constructor

Initializes a new instance of the DataConnectionStateChangedEventArgs class with the old and new connection states.

Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.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.Services Namespace