AdsClientDisconnectAsync Method

Disconnects this AdsClient from the local ADS router.


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

Syntax

C#

public Task<bool> DisconnectAsync(
    CancellationToken cancel
)

Parameters

cancel  CancellationToken

 

Return Value

Task Boolean
true if disconnected, false otherwise.

Implements

IConnectionDisconnectAsync(CancellationToken)

Reference

AdsClient Class TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026