HttpRequestMessageExtensions::GetDependencyScope Method (HttpRequestMessage^)

 

Retrieves the IDependencyScope for the given request or null if not available.

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

public:
[ExtensionAttribute]
static IDependencyScope^ GetDependencyScope(
	HttpRequestMessage^ request
)

Parameters

request
Type: System.Net.Http::HttpRequestMessage^

The HTTP request.

Return Value

Type: System.Web.Http.Dependencies::IDependencyScope^

The IDependencyScope for the given request or null if not available.

Return to top
Show: