Symbol.ReadAnyValueAsync Method (Type, CancellationToken)
Reads the (AnyType) value asynchronously.
Namespace: TwinCAT.Ads.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 6.0.328+39e3229
Syntax
C#
public 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.