IValueAnySymbolReadAnyValueAsyncT(CancellationToken) Method

Reads the (AnyType) value asynchronously.


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

Syntax

C#

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

Parameters

cancel  CancellationToken

The cancellation token.

Type Parameters

T

Return Value

Task ResultReadValueAccessT
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

Beckhoff Automation GmbH & Co. KG 2001-2026