Click or drag to resize

JsonRpcClientSendNotificationAsync Method

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

Asynchronously send a JSON RPC notification message.

Namespace:  JsonRpc.Client
Assembly:  JsonRpc.Commons (in JsonRpc.Commons.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntax
public virtual Task<ResponseMessage> SendNotificationAsync(
	string methodName,
	JToken parameters,
	CancellationToken cancellationToken
)

Parameters

methodName
Type: SystemString
RPC method name.
parameters
Type: JToken
The parameters of the invocation. Can be null.
cancellationToken
Type: System.ThreadingCancellationToken
A token used to cancel the operation.

Return Value

Type: TaskResponseMessage
A task contains the response of the request, or that contains null if the specified request does not need a response.
Exceptions
ExceptionCondition
ArgumentNullExceptionmethodName is null.
See Also