HttpContextExtensions.GetOwinContext Method
Retrieves an OWIN context.
Assembly: Microsoft.Owin.Host.SystemWeb (in Microsoft.Owin.Host.SystemWeb.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | GetOwinContext(HttpContext) | Gets the IOwinContext for the current request. |
![]() ![]() | GetOwinContext(HttpRequest) | Gets the IOwinContext for the current request. |
HttpContextExtensions.GetOwinContext Method (HttpContext)
Gets the IOwinContext for the current request.
<ExtensionAttribute> Public Shared Function GetOwinContext ( context As HttpContext ) As IOwinContext
Parameters
- context
- Type: System.Web.HttpContext
HttpContextExtensions.GetOwinContext Method (HttpRequest)
Gets the IOwinContext for the current request.
<ExtensionAttribute> Public Shared Function GetOwinContext ( request As HttpRequest ) As IOwinContext
Parameters
- request
- Type: System.Web.HttpRequest
Show:

