Share via


StartOptions Class

Represents a start options for hosting.

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Hosting.StartOptions

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class StartOptions
'Usage
Dim instance As StartOptions
[SerializableAttribute]
public class StartOptions
[SerializableAttribute]
public ref class StartOptions
[<SerializableAttribute>]
type StartOptions =  class end
public class StartOptions

The StartOptions type exposes the following members.

Constructors

  Name Description
Public method StartOptions() Initializes a new instance of the StartOptions class.
Public method StartOptions(String) Initializes a new instance of the StartOptions class.

Top

Properties

  Name Description
Public property AppStartup Gets or sets the parameter to locate and load web application startup routine.
Public property Port Gets or sets the port to listen on.
Public property ServerFactory Gets or sets the name of the assembly containing the http server implementation.
Public property Settings Gets or sets the optional settings used to override service types and other defaults.
Public property Urls Gets or sets the url prefixes listen on. Overrides port.

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 Namespace