IRpcCallableInstance.TryInvokeRpcMethod Method (String, .Object., Object.)

Tries to invoke the specified method.

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

int TryInvokeRpcMethod(
    string methodName,
    Object[] args,
    out Object result
)

VB

Function TryInvokeRpcMethod ( 
    methodName As String,
    args As Object(),
    <OutAttribute> ByRef result As Object
) As Integer

Parameters

methodName

Type: System.String
Name of the method.

args

Type: .System.Object.
The arguments.

result

Type: System.Object.
The result.

Return Value

Type: Int32
true if the call succeeds, false otherwise.

Reference

IRpcCallableInstance Interface

TryInvokeRpcMethod Overload

TwinCAT.TypeSystem Namespace