RpcInvokeException Constructor (IRpcStructInstance, 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.95+cf8c3f5

Syntax

C#

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

Parameters

rpcInstance

Type: TwinCAT.TypeSystem.IRpcStructInstance
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