AdsConnection.TryInvokeRpcMethod Method (String, String, .Object., Object.)
Invokes the specified 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 retValue
)
VB
Public Function TryInvokeRpcMethod (
symbolPath As String,
methodName As String,
parameters As Object(),
<OutAttribute> ByRef retValue As Object
) As AdsErrorCode
Parameters
symbolPath |
Type: System.String |
methodName |
Type: System.String |
parameters |
Type: .System.Object. |
retValue |
Type: System.Object. |
Exceptions
Exception |
Condition |
---|---|