Share via


DataConnectionStateChangedEventArgs Class

Definition

Provides event data for the StateChanged event on 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)

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

Properties

NewState

Retrieves the state of the data connection subsequent to change.

OldState

Retrieves the old state of the data connection.

Applies to