ResultDynamicSymbols.CreateError Method

Creates an Error Result.

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

Syntax

C#

public static ResultDynamicSymbols CreateError(
    AdsErrorCode errorCode
)

Parameters

errorCode

Type: TwinCAT.Ads.AdsErrorCode
The error code.

Return Value

Type: ResultDynamicSymbols
ResultValue<T>.

Reference

ResultDynamicSymbols Class

TwinCAT.TypeSystem Namespace