ResultReadWriteBytes.CreateError Method (AdsErrorCode)

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 ResultReadWriteBytes CreateError(
    AdsErrorCode errorCode
)

Parameters

errorCode

Type: TwinCAT.Ads.AdsErrorCode
The error code.

Return Value

Type: ResultReadWriteBytes
ResultWrite.

Reference

ResultReadWriteBytes Class

CreateError Overload

TwinCAT.Ads Namespace