AdsConnection.RegisterSymbolVersionChanged Method

Registers the symbol version changed.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

public AdsErrorCode RegisterSymbolVersionChanged(
    EventHandler<AdsSymbolVersionChangedEventArgs> handler
)

Parameters

handler

Type: System.EventHandler.AdsSymbolVersionChangedEventArgs.
The handler function to register.

Return Value

Type: AdsErrorCode
AdsErrorCode.

Implements

IAdsSymbolChangedProvider.RegisterSymbolVersionChanged(EventHandler.AdsSymbolVersionChangedEventArgs.)

Exceptions

Exception

Condition

ObjectDisposedException

Reference

AdsConnection Class

TwinCAT.Ads Namespace