Click or drag to resize

JsonRpcRealProxySendAsyncTResult Method

[This is preliminary documentation and is subject to change.]

Infrastructure. Asynchronously sends the request and wait for the response.

Namespace:  JsonRpc.DynamicProxy.Client
Assembly:  JsonRpc.DynamicProxy (in JsonRpc.DynamicProxy.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntax
public Task<TResult> SendAsync<TResult>(
	int methodIndex,
	IList paramValues
)

Parameters

methodIndex
Type: SystemInt32
The JSON RPC method index in MethodTable.
paramValues
Type: System.CollectionsIList
Parameters, in the order of expected parameter order.

Type Parameters

TResult
Response type.

Return Value

Type: TaskTResult
The response.
Exceptions
ExceptionCondition
JsonRpcRemoteExceptionAn error has occurred on the remote-side.
JsonRpcContractExceptionAn error has occurred when generating the request or parsing the response.
OperationCanceledExceptionThe operation has been cancelled.
See Also