ISumRead.ReadAsync Method

Reads Symbol values as an asynchronous operation.

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

Syntax

C#

Task<ResultSumValues> ReadAsync(
    CancellationToken cancel
)

Parameters

cancel

Type: System.Threading.CancellationToken
The cancellation token.

Return Value

Type: Task.ResultSumValues.
An asynchronous task that represents the 'Read' operation and returns a ResultSumValues. The overall error return code is contained in the ErrorCode property.

Reference

ISumRead Interface

TwinCAT.Ads.SumCommand Namespace

ISumRead.Read.

ISumRead.TryRead(.Object.., .AdsErrorCode..)