HttpContextBaseExtensions::GetOwinContext Method

 

Gets the OWIN context.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetOwinContext(HttpContextBase^)

Gets the IOwinContext for the current request.

System_CAPS_pubmethodSystem_CAPS_staticGetOwinContext(HttpRequestBase^)

Gets the IOwinContext for the current request.

Return to top

HttpContextBaseExtensions::GetOwinContext Method (HttpContextBase^)

Gets the IOwinContext for the current request.

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

Parameters

context
Type: System.Web::HttpContextBase^

Return Value

Type: Microsoft.Owin::IOwinContext^

Returns IOwinContext.

Return to top

HttpContextBaseExtensions::GetOwinContext Method (HttpRequestBase^)

Gets the IOwinContext for the current request.

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

Parameters

request
Type: System.Web::HttpRequestBase^

Return Value

Type: Microsoft.Owin::IOwinContext^

Returns IOwinContext.

Return to top
Show: