IAdsSymbolicAccess.ReadSymbolAsync Method
Reads the symbol information object specified by the instance path as an asynchronous operation.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
Task<ResultValue<IAdsSymbol>> ReadSymbolAsync(
string instancePath,
CancellationToken cancel
)Parameters
|
instancePath String |
Name of the symbol. |
|
cancel CancellationToken |
The cancel token. |
Return Value
Task<ResultValue<IAdsSymbol>>
A task that represents the asynchronous 'ReadSymbolInfo' operation. The ResultValue<TValue> parameter contains the read value
(Value) and the ErrorCode after execution.
See Also
Reference
IAdsSymbolicAccess Interface TwinCAT.Ads Namespace ReadSymbol(String) TryReadSymbol(String, IAdsSymbol)
Beckhoff Automation GmbH & Co. KG 2001-2026