OwinContext Constructor
Initializes a new instance of the OwinContext class.
Namespace: Microsoft.Owin
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Overload List
Name | Description | |
---|---|---|
OwinContext() | Create a new context with only request and response header collections. |
|
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
environment
Type: System.Collections.Generic.IDictionary<String, Object>OWIN environment dictionary which stores state information about the request, response and relevant server state.
Return to top