AdsClientReadAnyAsyncT(String, Int32, CancellationToken) Method

Read any as an asynchronous operation.


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

Syntax

C#

public Task<ResultValue<T>> ReadAnyAsync<T>(
    string instancePath,
    int[]? args,
    CancellationToken cancel
)

Parameters

instancePath  String

The instance path.

args  Int32

The arguments.

cancel  CancellationToken

The cancellation token that can be used by other objects or threads to receive notice of cancellation.

Type Parameters

T

Return Value

Task ResultValueT
A Task<TwinCAT.Ads.ResultValue{T}> representing the asynchronous operation.

Implements

IAdsAnyAccessReadAnyAsyncT(String, Int32, CancellationToken)

Reference

AdsClient Class ReadAnyAsync Overload TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026