ISumSymbolRead.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.116+a71ced3

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

ISumSymbolRead Interface

TwinCAT.Ads.SumCommand Namespace

ISumSymbolRead.Read.

ISumSymbolRead.TryRead(.Object.., .AdsErrorCode..)