AdsClientInvokeRpcMethodAsync(IRpcCallableInstance, IRpcMethod, Object, CancellationToken) Method
invoke RPC method as an asynchronous operation.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public Task<ResultRpcMethod> InvokeRpcMethodAsync(
IRpcCallableInstance symbol,
IRpcMethod rpcMethod,
Object[]? inParameters,
CancellationToken cancel
)Parameters
|
symbol IRpcCallableInstance |
The symbol. |
|
rpcMethod IRpcMethod |
The RPC method. |
|
inParameters Object |
The in parameters. |
|
cancel CancellationToken |
The cancellation token. |
Exceptions
|
Exception |
Condition |
|---|---|
|
symbol | |
|
rpcMethod |
Reference
AdsClient Class InvokeRpcMethodAsync Overload TwinCAT.Ads Namespace
Beckhoff Automation GmbH & Co. KG 2001-2026