SessionConnectionStateChangedEventArgs Constructor (ConnectionStateChangedReason, ConnectionState, ConnectionState, ISession, IConnection)
Initializes a new instance of the SessionConnectionStateChangedEventArgs class.
Namespace: TwinCAT
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
public SessionConnectionStateChangedEventArgs(
ConnectionStateChangedReason reason,
ConnectionState newState,
ConnectionState oldState,
ISession session,
IConnection connection
)
Parameters
reason |
Type: TwinCAT.ConnectionStateChangedReason |
newState |
Type: TwinCAT.ConnectionState |
oldState |
Type: TwinCAT.ConnectionState |
session |
Type: TwinCAT.ISession |
connection |
Type: TwinCAT.IConnection |