AdsConnection.TryInvokeRpcMethod Method (ITcAdsSymbol, Int32, .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(
ITcAdsSymbol symbol,
int methodId,
Object[] parameters,
out Object retValue
)
VB
Public Function TryInvokeRpcMethod (
symbol As ITcAdsSymbol,
methodId As Integer,
parameters As Object(),
<OutAttribute> ByRef retValue As Object
) As AdsErrorCode
Parameters
| 
                   symbol  | 
                   Type: TwinCAT.Ads.ITcAdsSymbol  | 
| 
                   methodId  | 
                   Type: System.Int32  | 
| 
                   parameters  | 
                   Type: .System.Object.  | 
| 
                   retValue  | 
                   Type: System.Object.  | 
Exceptions
| 
                   Exception  | 
                   Condition  | 
|---|---|