Share via


HttpMessageContent.Dispose Method

 

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

Overload List

Name Description
System_CAPS_pubmethod Dispose()

(Inherited from HttpContent.)

System_CAPS_protmethod Dispose(Boolean)

Releases unmanaged and - optionally - managed resources (Overrides HttpContent.Dispose(Boolean).)

See Also

HttpMessageContent Class
System.Net.Http Namespace

Return to top

HttpMessageContent.Dispose Method (Boolean)

Releases unmanaged and - optionally - managed resources

Syntax

protected override void Dispose(
    bool disposing
)
protected:
virtual void Dispose(
    bool disposing
) override
override Dispose : 
        disposing:bool -> unit
Protected Overrides Sub Dispose (
    disposing As Boolean
)

Parameters

  • disposing
    Type: System.Boolean

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

Return to top