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)

<ExtensionAttribute>
Public Shared Function GetDependencyScope (
	request As HttpRequestMessage
) As IDependencyScope

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: