Share via


OwinContext Constructor

 

Initializes a new instance of the OwinContext class.

Namespace:   Microsoft.Owin
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

Overload List

Name Description
System_CAPS_pubmethod OwinContext()

Create a new context with only request and response header collections.

System_CAPS_pubmethod OwinContext(IDictionary<String, Object>)

Create a new wrapper.

See Also

OwinContext Class
Microsoft.Owin Namespace

Return to top

OwinContext Constructor ()

Create a new context with only request and response header collections.

Syntax

public OwinContext()
public:
OwinContext()
new : unit -> OwinContext
Public Sub New

Return to top

OwinContext Constructor (IDictionary<String, Object>)

Create a new wrapper.

Syntax

public OwinContext(
    IDictionary<string, object> environment
)
public:
OwinContext(
    IDictionary<String^, Object^>^ environment
)
new : 
        environment:IDictionary<string, Object> -> OwinContext
Public Sub New (
    environment As IDictionary(Of String, Object)
)

Parameters

Return to top