WebApp.Start Method (StartOptions, Action<IAppBuilder>)

Start a web app using the given settings and entry point, using defaults for items not specified.

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

Syntax

'Declaration
Public Shared Function Start ( _
    options As StartOptions, _
    startup As Action(Of IAppBuilder) _
) As IDisposable
'Usage
Dim options As StartOptions 
Dim startup As Action(Of IAppBuilder)
Dim returnValue As IDisposable 

returnValue = WebApp.Start(options, _
    startup)
public static IDisposable Start(
    StartOptions options,
    Action<IAppBuilder> startup
)
public:
static IDisposable^ Start(
    StartOptions^ options, 
    Action<IAppBuilder^>^ startup
)
static member Start : 
        options:StartOptions * 
        startup:Action<IAppBuilder> -> IDisposable
public static function Start(
    options : StartOptions, 
    startup : Action<IAppBuilder>
) : IDisposable

Parameters

Return Value

Type: System.IDisposable
An IDisposable instance that can be called to shut down the web app.

See Also

Reference

WebApp Class

Start Overload

Microsoft.Owin.Hosting Namespace