다음을 통해 공유


HttpClient.CancelPendingRequests Method

Cancel all pending requests on this instance.

Namespace:  System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

Syntax

'Declaration
Public Sub CancelPendingRequests
'Usage
Dim instance As HttpClient

instance.CancelPendingRequests()
public void CancelPendingRequests()
public:
void CancelPendingRequests()
member CancelPendingRequests : unit -> unit
public function CancelPendingRequests()

Remarks

For a complete example of using the HttpClient class, see Calling a Web API From a .NET Client

See Also

Reference

HttpClient Class

System.Net.Http Namespace