DynamicSymbol.OnReadValueAsync Method

Handler function reading the DynamicSymbols value asynchronously.

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

Syntax

C#

protected virtual Task<ResultReadValueAccess> OnReadValueAsync(
    CancellationToken cancel
)

Parameters

cancel

Type: System.Threading.CancellationToken
The cancellation token.

Return Value

Type: Task.ResultReadValueAccess.
An asynchronous task returning the ResultReadValueAccess as result.

Exceptions

Exception

Condition

CannotAccessVirtualSymbolException

Reference

DynamicSymbol Class

TwinCAT.TypeSystem Namespace