HttpContextExtensions.GetOwinContext Method

 

Retrieves an OWIN context.

Namespace:   System.Web
Assembly:  Microsoft.Owin.Host.SystemWeb (in Microsoft.Owin.Host.SystemWeb.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetOwinContext(HttpContext)

Gets the IOwinContext for the current request.

System_CAPS_pubmethodSystem_CAPS_staticGetOwinContext(HttpRequest)

Gets the IOwinContext for the current request.

Return to top

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

Return Value

Type: Microsoft.Owin.IOwinContext

Returns IOwinContext.

Return to top

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

Return Value

Type: Microsoft.Owin.IOwinContext

Returns IOwinContext.

Return to top
Show: