ConnectionStateChangedEventArgs Class
Event arguments for the Connection status changed event.
Inheritance Hierarchy
System.Object
System.EventArgs
TwinCAT.ConnectionStateChangedEventArgs
TwinCAT.SessionConnectionStateChangedEventArgs
Namespace: TwinCAT
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 4.3.0.0
Syntax
C#
public class ConnectionStateChangedEventArgs : EventArgs
VB
Public Class ConnectionStateChangedEventArgs
Inherits EventArgs
The ConnectionStateChangedEventArgs type exposes the following members.
Constructors
|
Name |
Description |
---|---|---|
|
ConnectionStateChangedEventArgs(ConnectionStateChangedReason, ConnectionState, ConnectionState) |
Constructs the ConnectionStateChangedEventArgs arguments. |
|
Constructs the ConnectionStateChangedEventArgs arguments. |
Methods
|
Name |
Description |
---|---|---|
|
Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
|
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
|
Serves as the default hash function. (Inherited from Object.) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
|
Creates a shallow copy of the current Object. (Inherited from Object.) | |
|
Returns a string that represents the current object. (Inherited from Object.) |
Fields
|
Name |
Description |
---|---|---|
|
Exception, (only for Error | |
|
New connection state | |
|
Old connection state | |
|
Reason for the event |