Click or drag to resize

IJsonRpcMethodInvokerInvokeAsync Method

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

Invokes the specified JSON RPC method asynchronously, using the specified request context.

Namespace:  JsonRpc.Contracts
Assembly:  JsonRpc.Commons (in JsonRpc.Commons.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntax
Task<Object> InvokeAsync(
	RequestContext context,
	Object[] arguments
)

Parameters

context
Type: JsonRpc.ServerRequestContext
arguments
Type: SystemObject
The arguments of the invocation. null for empty params.

Return Value

Type: TaskObject
A task that returns a Object to indicate the response, or that returns null for the default response.
Exceptions
ExceptionCondition
ExceptionThe invoked method throws an exception.
Remarks
This method will usually called from a working thread. If there is error or exception occurred during invocation, it should be encapsulated in the Object.
See Also