Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
public static IDependencyScope GetDependencyScope(
this HttpRequestMessage request
)
public:
[ExtensionAttribute]
static IDependencyScope^ GetDependencyScope(
HttpRequestMessage^ request
)
static member GetDependencyScope :
request:HttpRequestMessage -> IDependencyScope
<ExtensionAttribute>
Public Shared Function GetDependencyScope (
request As HttpRequestMessage
) As IDependencyScope
Parameters
request
Type: System.Net.Http.HttpRequestMessageThe HTTP request.
Return Value
Type: System.Web.Http.Dependencies.IDependencyScope
The IDependencyScope for the given request or null if not available.
See Also
HttpRequestMessageExtensions Class
System.Net.Http Namespace
Return to top