Share via


ICancellationStrategy.OutboundRequestEnded(RequestId) Method

Definition

Cleans up any state associated with an earlier CancelOutboundRequest(RequestId) call.

public void OutboundRequestEnded (StreamJsonRpc.RequestId requestId);
abstract member OutboundRequestEnded : StreamJsonRpc.RequestId -> unit
Public Sub OutboundRequestEnded (requestId As RequestId)

Parameters

requestId
RequestId

The ID of the canceled request.

Remarks

This method is invoked by JsonRpc when the response to a canceled request has been received. It *may* be invoked for requests for which a prior call to CancelOutboundRequest(RequestId) was *not* made, due to timing. But it should never be invoked concurrently with CancelOutboundRequest(RequestId) for the same RequestId.

Applies to