Infosys在阅读器中打开 / AI 翻译

ADS · 0 次阅读

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

Tries to invoke the RPC method.

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

Syntax

C#

public AdsErrorCode TryInvokeRpcMethod(
    string symbolPath,
    string methodName,
    Object[] parameters,
    out Object returnValue
)

VB

Public Function TryInvokeRpcMethod ( 
    symbolPath As String,
    methodName As String,
    parameters As Object(),
    <OutAttribute> ByRef returnValue As Object
) As AdsErrorCode

Parameters

symbolPath

Type: System.String
The symbol path.

methodName

Type: System.String
Name of the method.

parameters

Type: .System.Object.
The parameters.

returnValue

Type: System.Object.
The return value.

Return Value

Type: AdsErrorCode
AdsErrorCode.

Exceptions

Exception

Condition

NotImplementedException