RpcInvokeException Constructor (IInterfaceInstance, String, Int32)

Initializes a new instance of the RpcInvokeException class.

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

Syntax

C#

public RpcInvokeException(
    IInterfaceInstance rpcInstance,
    string methodName,
    int errorCode
)

Parameters

rpcInstance

Type: TwinCAT.TypeSystem.IInterfaceInstance
The RPC instance.

methodName

Type: System.String
Name of the method.

errorCode

Type: System.Int32
The error code.

Reference

RpcInvokeException Class

RpcInvokeException Overload

TwinCAT.TypeSystem Namespace