AdsSymbolicServer.GetDataTypesAsync Method
Gets the data types asynchronously.
Namespace: TwinCAT.Ads.Server
Assembly: TwinCAT.Ads.SymbolicServer (in
TwinCAT.Ads.SymbolicServer.dll) Version: 6.0.328+39e3229
Syntax
C#
public Task<ResultDataTypes> GetDataTypesAsync(
CancellationToken cancel
)
Parameters
cancel |
Type: System.Threading.CancellationToken |
Return Value
Type: Task.ResultDataTypes.
A task that represents the asynchronous 'GetDataTypes'
operation. The ResultDataTypes
parameter contains the data types (DataTypes) and the
ErrorCode
after execution.
Exceptions
Exception |
Condition |
---|---|