ResultRpcMethod Constructor

Initializes a new instance of the ResultRpcMethod struct.


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

Syntax

C#

public ResultRpcMethod(
    AdsErrorCode errorCode,
    Object? returnValue,
    Object[]? outParameters,
    uint invokeId
)

Parameters

errorCode  AdsErrorCode

The error code.

returnValue  Object

The value.

outParameters  Object

The out parameters.

invokeId  UInt32

The ADS request invoke identifier or 0

Reference

ResultRpcMethod Class TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026