ResultNotificationHandleCreateError(AdsErrorCode, UInt32) Method

Creates an Error Result.


Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public static ResultNotificationHandle CreateError(
    AdsErrorCode errorCode,
    uint invokeId
)

Parameters

errorCode  AdsErrorCode

The error code.

invokeId  UInt32

The ADS request invoke identifier.

Return Value

ResultNotificationHandle
ResultValue<T>.

Reference

ResultNotificationHandle Class CreateError Overload TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026