다음을 통해 공유


DataConnectionStateChangedEventArgs Constructor

Definition

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

public:
 DataConnectionStateChangedEventArgs(Microsoft::VisualStudio::Data::DataConnectionState oldState, Microsoft::VisualStudio::Data::DataConnectionState newState);
public DataConnectionStateChangedEventArgs (Microsoft.VisualStudio.Data.DataConnectionState oldState, Microsoft.VisualStudio.Data.DataConnectionState newState);
new Microsoft.VisualStudio.Data.DataConnectionStateChangedEventArgs : Microsoft.VisualStudio.Data.DataConnectionState * Microsoft.VisualStudio.Data.DataConnectionState -> Microsoft.VisualStudio.Data.DataConnectionStateChangedEventArgs
Public Sub New (oldState As DataConnectionState, newState As DataConnectionState)

Parameters

oldState
DataConnectionState

The state of the data connection prior to change.

newState
DataConnectionState

The state of the data connection subsequent to change.

Applies to