SessionConnectionStateChangedEventArgs(ConnectionStateChangedReason, ConnectionState, ConnectionState, ISession, IConnection) Constructor

Initializes a new instance of the SessionConnectionStateChangedEventArgs class.


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

Syntax

C#

public SessionConnectionStateChangedEventArgs(
    ConnectionStateChangedReason reason,
    ConnectionState newState,
    ConnectionState oldState,
    ISession session,
    IConnection connection
)

Parameters

reason  ConnectionStateChangedReason

The reason.

newState  ConnectionState

The new state.

oldState  ConnectionState

The old state.

session  ISession

The session.

connection  IConnection

The connection.

Reference

SessionConnectionStateChangedEventArgs Class SessionConnectionStateChangedEventArgs Overload TwinCAT Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026