SessionOnConnectionStateChanged Method

Handles the [E:ConnectionStateChanged] event.


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

Syntax

C#

protected void OnConnectionStateChanged(
    Object? sender,
    ConnectionStateChangedEventArgs e
)

Parameters

sender  Object

The sender.

e  ConnectionStateChangedEventArgs

The ConnectionStateChangedEventArgs instance containing the event data.

Reference

Session Class TwinCAT Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026