StartContext.EnvironmentData Property

Gets or sets a list of keys and their associated values that will be injected by the host into each OWIN request environment.

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

Syntax

'Declaration
Public Property EnvironmentData As IList(Of KeyValuePair(Of String, Object))
    Get 
    Private Set
'Usage
Dim instance As StartContext 
Dim value As IList(Of KeyValuePair(Of String, Object))

value = instance.EnvironmentData
public IList<KeyValuePair<string, Object>> EnvironmentData { get; private set; }
public:
property IList<KeyValuePair<String^, Object^>>^ EnvironmentData {
    IList<KeyValuePair<String^, Object^>>^ get ();
    private: void set (IList<KeyValuePair<String^, Object^>>^ value);
}
member EnvironmentData : IList<KeyValuePair<string, Object>> with get, private set
function get EnvironmentData () : IList<KeyValuePair<String, Object>>
private function set EnvironmentData (value : IList<KeyValuePair<String, Object>>)

Property Value

Type: System.Collections.Generic.IList<KeyValuePair<String, Object>>
A list of keys and their associated values that will be injected by the host into each OWIN request environment.

See Also

Reference

StartContext Class

Microsoft.Owin.Hosting.Engine Namespace