Session.OnConnectionStateChanged Method

Handles the [E:ConnectionStateChanged] event.

Namespace:  TwinCAT
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

protected void OnConnectionStateChanged(
    Object? sender,
    ConnectionStateChangedEventArgs e
)

Parameters

sender

Type: System.Object
The sender.

e

Type: TwinCAT.ConnectionStateChangedEventArgs
The ConnectionStateChangedEventArgs instance containing the event data.

Reference

Session Class

TwinCAT Namespace