Share via


DataConnectionStateChangedEventArgs Class

Definition

Provides data for the StateChanged event of a data connection.

public ref class DataConnectionStateChangedEventArgs : EventArgs
public class DataConnectionStateChangedEventArgs : EventArgs
type DataConnectionStateChangedEventArgs = class
    inherit EventArgs
Public Class DataConnectionStateChangedEventArgs
Inherits EventArgs
Inheritance
DataConnectionStateChangedEventArgs

Constructors

DataConnectionStateChangedEventArgs(DataConnectionState, DataConnectionState)

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

Properties

NewState

Gets the new state of the data connection.

OldState

Gets the state the data connection was in before the last state change.

Applies to