ResultReadBytes.CreateError Method (AdsErrorCode, UInt32)

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 ResultReadBytes CreateError(
    AdsErrorCode error,
    uint invokeId
)

Parameters

error

Type: TwinCAT.Ads.AdsErrorCode
The error.

invokeId

Type: System.UInt32
The ADS request invoke identifier.

Return Value

Type: ResultReadBytes
ResultReadBytes.

Reference

ResultReadBytes Class

CreateError Overload

TwinCAT.Ads Namespace