SessionConnectionStateChangedEventArgs Constructor (ConnectionStateChangedReason, ConnectionState, ConnectionState, ISession, IConnection, Exception)
Initializes a new instance of the SessionConnectionStateChangedEventArgs class.
Namespace: TwinCAT
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 4.3.0.0
Syntax
C#
public SessionConnectionStateChangedEventArgs(
ConnectionStateChangedReason reason,
ConnectionState newState,
ConnectionState oldState,
ISession session,
IConnection connection,
Exception e
)
VB
Public Sub New (
reason As ConnectionStateChangedReason,
newState As ConnectionState,
oldState As ConnectionState,
session As ISession,
connection As IConnection,
e As Exception
)
Parameters
reason |
Type: TwinCAT.ConnectionStateChangedReason |
newState |
Type: TwinCAT.ConnectionState |
oldState |
Type: TwinCAT.ConnectionState |
session |
Type: TwinCAT.ISession |
connection |
Type: TwinCAT.IConnection |
e |
Type: System.Exception |