IConnectionConnectAndWaitAsync Method

Connects the and wait asynchronous.


Namespace: TwinCAT
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

Task ConnectAndWaitAsync(
    CancellationToken cancel
)

Parameters

cancel  CancellationToken

The cancellation token that can be used by other objects or threads to receive notice of cancellation.

Return Value

Task
Task.

Reference

IConnection Interface TwinCAT Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026