ConnectionStateChangedEventArgs Constructor (ConnectionStateChangedReason, ConnectionState, ConnectionState)
Constructs the ConnectionStateChangedEventArgs arguments.
Namespace: TwinCAT
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 4.3.0.0
Syntax
C#
public ConnectionStateChangedEventArgs(
ConnectionStateChangedReason reason,
ConnectionState newState,
ConnectionState oldState
)
VB
Public Sub New (
reason As ConnectionStateChangedReason,
newState As ConnectionState,
oldState As ConnectionState
)
Parameters
reason |
Type: TwinCAT.ConnectionStateChangedReason |
newState |
Type: TwinCAT.ConnectionState |
oldState |
Type: TwinCAT.ConnectionState |