Export (0) Print
Expand All

HttpClient.Dispose Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Releases the unmanaged resources and disposes of the managed resources used by the HttpClient.

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

public void Dispose()



When this method is called, the CancelPendingRequests() method is called to abort all pending requests.

© 2015 Microsoft