Click or drag to resize

IRequestCancellationFeatureTryCancel Method

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

Tries to cancel the request with specified request id.

Namespace:  JsonRpc.Server
Assembly:  JsonRpc.Commons (in JsonRpc.Commons.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntax
bool TryCancel(
	MessageId id
)

Parameters

id
Type: JsonRpc.MessagesMessageId
The message id to cancel.

Return Value

Type: Boolean
true, if the request has been successfully cancelled; false otherwise.
See Also