IValueAnySymbolReadAnyValueAsync(Type, CancellationToken) Method
Reads the (AnyType) value asynchronously.
Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version:
7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
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.
Reference
IValueAnySymbol Interface ReadAnyValueAsync Overload TwinCAT.TypeSystem Namespace
Beckhoff Automation GmbH & Co. KG 2001-2026