 | 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
SyntaxTask<Object> InvokeAsync(
RequestContext context,
Object[] arguments
)
Function InvokeAsync (
context As RequestContext,
arguments As Object()
) As Task(Of Object)
Dim instance As IJsonRpcMethodInvoker
Dim context As RequestContext
Dim arguments As Object()
Dim returnValue As Task(Of Object)
returnValue = instance.InvokeAsync(context,
arguments)
Task<Object^>^ InvokeAsync(
RequestContext^ context,
array<Object^>^ arguments
)
abstract InvokeAsync :
context : RequestContext *
arguments : Object[] -> Task<Object>
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.
ExceptionsException | Condition |
---|
Exception | The 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