AdsClientReadDataTypeAsync Method
Read data type as an asynchronous operation.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public Task<ResultValue<IDataType>> ReadDataTypeAsync(
string typeName,
CancellationToken cancel
)Parameters
|
typeName String |
Name of the data type. |
|
cancel CancellationToken |
The cancel token. |
Return Value
Task
ResultValue
IDataType
A Task<ResultValue`1> representing the asynchronous
operation.
Exceptions
|
Exception |
Condition |
|---|---|
|
typeName | |
Reference
AdsClient Class TwinCAT.Ads Namespace ReadDataType(String) TryReadDataType(String, IDataType)
Beckhoff Automation GmbH & Co. KG 2001-2026