ISymbolServer.GetDataTypesAsync Method

Gets the data types asynchronously.

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

Task<ResultDataTypes> GetDataTypesAsync(
    CancellationToken cancel
)

Parameters

cancel

Type: System.Threading.CancellationToken
The cancellation token.

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.

Reference

ISymbolServer Interface

TwinCAT.TypeSystem Namespace

ISymbolServer.DataTypes