AdsConnection.RegisterSymbolVersionChangedAsync Method
Registers the symbol version changed asynchronously.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public Task<ResultAds> RegisterSymbolVersionChangedAsync(
EventHandler<AdsSymbolVersionChangedEventArgs> handler,
CancellationToken cancel
)Parameters
|
The handler function to register. | |
|
cancel CancellationToken |
The cancellation token. |
Return Value
Task<ResultAds>
A task that represents the asynchronous 'RegisterSymbolVersionChanged' operation. The ResultAds parameter contains the value
ErrorCode of the ADS communication after execution.
Implements
Exceptions
|
Exception |
Condition |
|---|---|
See Also
Reference
AdsConnection Class TwinCAT.Ads Namespace AdsSymbolVersionChanged
Beckhoff Automation GmbH & Co. KG 2001-2026