ResultRpcMethod.CreateError Method

Creates an error result.

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

Syntax

C#

public static ResultRpcMethod CreateError(
    AdsErrorCode error
)

Parameters

error

Type: TwinCAT.Ads.AdsErrorCode
The error.

Return Value

Type: ResultRpcMethod
ResultRpcMethod.

Reference

ResultRpcMethod Class

TwinCAT.Ads Namespace