ICancellationStrategy.IncomingRequestEnded(RequestId) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Cleans up any state associated with an earlier IncomingRequestStarted(RequestId, CancellationTokenSource) call.
public void IncomingRequestEnded (StreamJsonRpc.RequestId requestId);
abstract member IncomingRequestEnded : StreamJsonRpc.RequestId -> unit
Public Sub IncomingRequestEnded (requestId As RequestId)
Parameters
- requestId
- RequestId
The ID of the request that has been fulfilled.
Remarks
Implementations are expected to release memory allocated by a prior call to IncomingRequestStarted(RequestId, CancellationTokenSource). This method should *not* dispose of the CancellationTokenSource received previously as JsonRpc owns its lifetime.