Partager via


HttpMessageHandler.Dispose Method

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

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

Syntax

'Declaration
Public Sub Dispose
'Usage
Dim instance As HttpMessageHandler

instance.Dispose()
public void Dispose()
public:
virtual void Dispose() sealed
abstract Dispose : unit -> unit  
override Dispose : unit -> unit
public final function Dispose()

Implements

IDisposable.Dispose()

See Also

Reference

HttpMessageHandler Class

Dispose Overload

System.Net.Http Namespace