IValueAnySymbol.ReadAnyValueAsync.T. Method (CancellationToken)

Reads the (AnyType) value asynchronously.

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

Syntax

C#

Task<ResultReadValueAccess<T>> ReadAnyValueAsync<T>(
    CancellationToken cancel
)

Parameters

cancel

Type: System.Threading.CancellationToken
The cancellation token.

Type Parameters

T

Return Value

Type: Task.ResultReadValueAccess.T..
A task object that is representing the asynchronous 'ReadAnyValue' operation. The result will be returned in a ResultReadValueAccess, which contains the Value and the ErrorCode.

Reference

IValueAnySymbol Interface

ReadAnyValueAsync Overload

TwinCAT.TypeSystem Namespace