Session.OnConnect Method

Handler function connecting the Session.

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

Syntax

C#

protected virtual IConnection? OnConnect(
    bool reconnect
)

Parameters

reconnect

Type: System.Boolean
if set to true [reconnect].

Return Value

Type: IConnection
IConnection.

Reference

Session Class

TwinCAT Namespace