Symbol.ReadAnyValueAsync(Type, CancellationToken) Method
Reads the (AnyType) value asynchronously.
Namespace: TwinCAT.Ads.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public Task<ResultReadValueAccess> ReadAnyValueAsync(
Type managedType,
CancellationToken cancel
)Parameters
|
managedType Type |
Managed type of the value to read. |
|
cancel CancellationToken |
The cancellation token. |
Return Value
Task<ResultReadValueAccess>
A task object that is representing the asynchronous 'ReadAnyValue' operation. The result will be returned in a ResultReadValueAccess, which
contains the Value and the ErrorCode.
See Also
Reference
Symbol Class ReadAnyValueAsync Overload TwinCAT.Ads.TypeSystem Namespace
Beckhoff Automation GmbH & Co. KG 2001-2026