IAdsSymbolChangedProvider.UnregisterSymbolVersionChangedAsync Method

Unregisters the symbol version changed asynchronously.


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

Syntax

C#

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

Parameters

handler  EventHandler<AdsSymbolVersionChangedEventArgs>

The handler function to unregister.

cancel  CancellationToken

The cancellation token.

Return Value

Task<ResultAds>
A task that represents the asynchronous 'UnregisterSymbolVersionChangedAsync' operation. The ResultAds parameter contains the value ErrorCode of the ADS communication after execution.

See Also

Reference

IAdsSymbolChangedProvider Interface TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026