DataConnectionStateChangedEventArgs Class
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.
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. |