StartContext Class

This class contains the relevant application and server state during startup.

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Hosting.Engine.StartContext

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

Syntax

'Declaration
Public Class StartContext
'Usage
Dim instance As StartContext
public class StartContext
public ref class StartContext
type StartContext =  class end
public class StartContext

The StartContext type exposes the following members.

Constructors

  Name Description
Public method StartContext Create a new StartContext with the given options. If the given options do not define any settings, then settings will be loaded from the config.

Top

Properties

  Name Description
Public property App Gets or sets the constructed OWIN application pipeline.
Public property Builder Gets or sets the IAppBuilder used to construct the OWIN application pipeline.
Public property EnvironmentData Gets or sets a list of keys and their associated values that will be injected by the host into each OWIN request environment.
Public property Options Gets or sets the initial options provided to the constructor.
Public property ServerFactory Gets or sets the factory used to instantiate the server.
Public property Startup Gets or sets the application entry point where the pipeline is defined.
Public property TraceOutput Gets or sets a TextWriter for writing diagnostic data to.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Owin.Hosting.Engine Namespace