ConnectionStateChangedEventArgs(ConnectionStateChangedReason, ConnectionState, ConnectionState, Exception) Constructor

Constructs the ConnectionStateChangedEventArgs arguments.


Namespace: TwinCAT
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public ConnectionStateChangedEventArgs(
    ConnectionStateChangedReason reason,
    ConnectionState newState,
    ConnectionState oldState,
    Exception? e
)

Parameters

reason  ConnectionStateChangedReason

The reason.

newState  ConnectionState

The new state.

oldState  ConnectionState

The old state.

e  Exception

The e.

Reference

ConnectionStateChangedEventArgs Class ConnectionStateChangedEventArgs Overload TwinCAT Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026