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.

public:
[ExtensionAttribute]
static IOwinContext^ GetOwinContext(
	HttpContext^ context
)

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.

public:
[ExtensionAttribute]
static IOwinContext^ GetOwinContext(
	HttpRequest^ request
)

Parameters

request
Type: System.Web::HttpRequest^

Return Value

Type: Microsoft.Owin::IOwinContext^

Returns IOwinContext.

Return to top
Show: