SumInstancePathAnyTypeRead.ReadAsync Method

Reads all the values as an asynchronous operation in one ADS roundtrip and returns an result object containing all the SumCommand SubResults.

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

Syntax

C#

public Task<ResultSumTypedValues<string, Object>> ReadAsync(
    CancellationToken cancel
)

Parameters

cancel

Type: System.Threading.CancellationToken
The cancellation token.

Return Value

Type: Task.ResultSumTypedValues.String, Object..
A Task<ResultSumValues2> representing the asynchronous operation.

Reference

SumInstancePathAnyTypeRead Class

TwinCAT.Ads.SumCommand Namespace

ISumRead2.Read.

[!:TryRead(out object[], out AdsErrorCode[])]