Share via


HttpContent.Dispose Method

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

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

Syntax

'Declaration
Public Sub Dispose
'Usage
Dim instance As HttpContent

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

HttpContent Class

Dispose Overload

System.Net.Http Namespace