ResultDataTypes.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 ResultDataTypes CreateError(
    AdsErrorCode error
)

Parameters

error

Type: TwinCAT.Ads.AdsErrorCode
The error.

Return Value

Type: ResultDataTypes
ResultRpcMethod.

Reference

ResultDataTypes Class

TwinCAT.TypeSystem Namespace