ConnectionStateChangedEventArgs Constructor (ConnectionStateChangedReason, ConnectionState, ConnectionState, Exception)
Constructs the ConnectionStateChangedEventArgs arguments.
Namespace: TwinCAT
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
public ConnectionStateChangedEventArgs(
ConnectionStateChangedReason reason,
ConnectionState newState,
ConnectionState oldState,
Exception? e
)
Parameters
reason |
Type: TwinCAT.ConnectionStateChangedReason |
newState |
Type: TwinCAT.ConnectionState |
oldState |
Type: TwinCAT.ConnectionState |
e |
Type: System.Exception |