Session.OnConnectAsync Method
Handler function connecting the Session.
Namespace: TwinCAT
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 6.0.328+39e3229
Syntax
C#
protected virtual Task<IConnection?> OnConnectAsync(
bool reconnect,
CancellationToken cancel
)
Parameters
reconnect |
Type: System.Boolean |
cancel |
Type: System.Threading.CancellationToken |