SumHandleRead.ReadAsync Method

Read the values asynchronously.

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

Syntax

C#

public 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 'ReadSymbols' operation and returns a ResultSumValues. The overall error return code is contained in the ErrorCode property.

Reference

SumHandleRead Class

TwinCAT.Ads.SumCommand Namespace

SumHandleRead.Read.

SumHandleRead.TryRead(.Object.., .AdsErrorCode..)