DataConnectionStateChangedEventArgs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DataConnectionStateChangedEventArgs class with the old and new connection states.
public:
DataConnectionStateChangedEventArgs(Microsoft::VisualStudio::Data::Services::DataConnectionState oldState, Microsoft::VisualStudio::Data::Services::DataConnectionState newState);
public DataConnectionStateChangedEventArgs (Microsoft.VisualStudio.Data.Services.DataConnectionState oldState, Microsoft.VisualStudio.Data.Services.DataConnectionState newState);
new Microsoft.VisualStudio.Data.Services.DataConnectionStateChangedEventArgs : Microsoft.VisualStudio.Data.Services.DataConnectionState * Microsoft.VisualStudio.Data.Services.DataConnectionState -> Microsoft.VisualStudio.Data.Services.DataConnectionStateChangedEventArgs
Public Sub New (oldState As DataConnectionState, newState As DataConnectionState)
Parameters
- oldState
- DataConnectionState
A value from DataConnectionState representing the state the data connection was in before the last state change.
- newState
- DataConnectionState
A value from DataConnectionState representing the new state of the data connection.