共用方式為


HttpMessageInvoker.Dispose Method

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

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

Syntax

'Declaration
Public Sub Dispose
'Usage
Dim instance As HttpMessageInvoker

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

HttpMessageInvoker Class

Dispose Overload

System.Net.Http Namespace