 | StreamRpcServerHandlerTryCancelRequest Method |
[This is preliminary documentation and is subject to change.]
Tries to cancel the specified request by request id.
Namespace:
JsonRpc.Streams
Assembly:
JsonRpc.Streams (in JsonRpc.Streams.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntaxpublic bool TryCancelRequest(
MessageId id
)
Public Function TryCancelRequest (
id As MessageId
) As Boolean
Dim instance As StreamRpcServerHandler
Dim id As MessageId
Dim returnValue As Boolean
returnValue = instance.TryCancelRequest(id)
public:
bool TryCancelRequest(
MessageId id
)
member TryCancelRequest :
id : MessageId -> bool
Parameters
- id
- Type: JsonRpc.MessagesMessageId
Id of the request to cancel.
Return Value
Type:
Booleantrue if the specified request has been cancelled.
false if the specified request id has not found.
Exceptions
Remarks
See Also