SessionConnectionStateChangedEventArgs Class
EventArguments for the ConnectionStatusChanged events.
Inheritance Hierarchy
SystemObject
SystemEventArgs
TwinCATConnectionStateChangedEventArgs
TwinCATSessionConnectionStateChangedEventArgs
Namespace: TwinCAT
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version:
7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public class SessionConnectionStateChangedEventArgs : ConnectionStateChangedEventArgsThe SessionConnectionStateChangedEventArgs type exposes the following members.
Constructors
|
|
Name |
Description |
|---|---|---|
|
|
Initializes a new instance of the SessionConnectionStateChangedEventArgs class. | |
|
|
Initializes a new instance of the SessionConnectionStateChangedEventArgs class. |
Properties
|
|
Name |
Description |
|---|---|---|
|
|
The connection | |
|
|
Exception, (only for Error | |
|
|
New connection state | |
|
|
Old connection state | |
|
|
Reason for the event | |
|
|
The session |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Determines whether the specified object is equal to the current
object. | |
|
|
Allows an object to try to free resources and perform other
cleanup operations before it is reclaimed by garbage
collection. | |
|
|
Serves as the default hash function. | |
|
|
Gets the Type of the current
instance. | |
|
|
Creates a shallow copy of the current Object. | |
|
|
Returns a string that represents the current object. |
Reference
TwinCAT Namespace ConnectionStateChangedEventArgs
Beckhoff Automation GmbH & Co. KG 2001-2026
- SessionConnectionStateChangedEventArgs Constructor (ConnectionStateChangedReason, ConnectionState, ConnectionState, ISession, IConnection)
- SessionConnectionStateChangedEventArgs Constructor (ConnectionStateChangedReason, ConnectionState, ConnectionState, ISession, IConnection, Exception)
- SessionConnectionStateChangedEventArgs.Connection Property
- ConnectionStateChangedEventArgs.Exception Property
- ConnectionStateChangedEventArgs.NewState Property
- ConnectionStateChangedEventArgs.OldState Property
- ConnectionStateChangedEventArgs.Reason Property
- SessionConnectionStateChangedEventArgs.Session Property