IValueAnySymbol.ReadAnyValueAsync Method (Type, CancellationToken)
Reads the (AnyType) value asynchronously.
Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
Task<ResultReadValueAccess> ReadAnyValueAsync(
Type managedType,
CancellationToken cancel
)
Parameters
managedType |
Type: System.Type |
cancel |
Type: System.Threading.CancellationToken |
Return Value
Type: 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.