AdsConnection.InvokeRpcMethod Method (ITcAdsSymbol, String, .Object.)

Invokes the specified RPC Method.

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

Syntax

C#

public Object InvokeRpcMethod(
    ITcAdsSymbol symbol,
    string methodName,
    Object[] parameters
)

VB

Public Function InvokeRpcMethod ( 
    symbol As ITcAdsSymbol,
    methodName As String,
    parameters As Object()
) As Object

Parameters

symbol

Type: TwinCAT.Ads.ITcAdsSymbol
The symbol.

methodName

Type: System.String
Name of the method.

parameters

Type: .System.Object.
The parameters.

Return Value

Type: Object
The return value of the Method (as object).

Implements

ITcAdsRpcInvoke.InvokeRpcMethod(ITcAdsSymbol, String, .Object.)

Exceptions

Exception

Condition

ObjectDisposedException

Reference

AdsConnection Class

InvokeRpcMethod Overload

TwinCAT.Ads Namespace