Share via


HttpRequestMessageExtensions.DisposeRequestResources Method (HttpRequestMessage)

 

Disposes of all tracked resources associated with the request which were added via the RegisterForDispose method.

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

Syntax

public static void DisposeRequestResources(
    this HttpRequestMessage request
)
public:
[ExtensionAttribute]
static void DisposeRequestResources(
    HttpRequestMessage^ request
)
static member DisposeRequestResources : 
        request:HttpRequestMessage -> unit
<ExtensionAttribute>
Public Shared Sub DisposeRequestResources (
    request As HttpRequestMessage
)

Parameters

See Also

HttpRequestMessageExtensions Class
System.Net.Http Namespace

Return to top