ResultRpcMethod Constructor

Initializes a new instance of the ResultRpcMethod struct.

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

Syntax

C#

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

Parameters

errorCode

Type: TwinCAT.Ads.AdsErrorCode
The error code.

returnValue

Type: System.Object
The value.

outParameters

Type: .System.Object.
The out parameters.

invokeId

Type: System.UInt32
The ADS request invoke identifier or 0

Reference

ResultRpcMethod Class

TwinCAT.Ads Namespace