AdsClientUnregisterSymbolVersionChangedAsync Method

Unregister symbol version changed as an asynchronous operation.


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

Syntax

C#

public Task<ResultAds> UnregisterSymbolVersionChangedAsync(
    EventHandler<AdsSymbolVersionChangedEventArgs> handler,
    CancellationToken cancel
)

Parameters

handler  EventHandlerAdsSymbolVersionChangedEventArgs

The handler function to unregister.

cancel  CancellationToken

The cancellation token.

Return Value

Task ResultAds
A Task<ResultAds> representing the asynchronous operation.

Implements

IAdsSymbolChangedProviderUnregisterSymbolVersionChangedAsync(EventHandlerAdsSymbolVersionChangedEventArgs, CancellationToken)

Exceptions

Exception

Condition

ObjectDisposedException

Reference

AdsClient Class TwinCAT.Ads Namespace AdsSymbolVersionChanged

Beckhoff Automation GmbH & Co. KG 2001-2026