AdsSession.OnConnect Method

Handler function connecting the Session.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

protected override IConnection OnConnect(
    bool reconnect
)

VB

Protected Overrides Function OnConnect ( 
    reconnect As Boolean
) As IConnection

Parameters

reconnect

Type: System.Boolean

Return Value

Type: IConnection
IConnection.

Reference

AdsSession Class

TwinCAT.Ads Namespace