AdsSessionBase.OnConnect Method

Handler function connecting the Session.

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

Syntax

C#

protected override IConnection? OnConnect(
    bool reconnect
)

Parameters

reconnect

Type: System.Boolean

Return Value

Type: IConnection
IConnection.

Reference

AdsSessionBase Class

TwinCAT.Ads Namespace