HttpClient.CancelPendingRequests HttpClient.CancelPendingRequests HttpClient.CancelPendingRequests HttpClient.CancelPendingRequests Method

Definition

Cancel all pending requests on this instance.

public:
 void CancelPendingRequests();
public void CancelPendingRequests ();
member this.CancelPendingRequests : unit -> unit
Public Sub CancelPendingRequests ()

Remarks

After calling this method, the HttpClient instance can still be used to execute additional requests.

Applies to