AdsConnectionReadValueAsyncT(ISymbol, CancellationToken) Method
Read value 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>> ReadValueAsync<T>(
ISymbol symbol,
CancellationToken cancel
)Parameters
|
symbol ISymbol |
The symbol that should be read. |
|
cancel CancellationToken |
The cancel token. |
Type Parameters
|
T |
The value type. |
Remarks
This method automatically marshals the read values to appropriate .NET objects if possible. The overall behaviour is described here in the interface description.
Reference
AdsConnection Class ReadValueAsync Overload TwinCAT.Ads Namespace ReadValueT(ISymbol) TryReadValueT(ISymbol, T)
Beckhoff Automation GmbH & Co. KG 2001-2026