WebApp.Start<TStartup> Method (StartOptions)
Start a web app using the given settings and entry point type, 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(Of TStartup) ( _
options As StartOptions _
) As IDisposable
'Usage
Dim options As StartOptions
Dim returnValue As IDisposable
returnValue = WebApp.Start(options)
public static IDisposable Start<TStartup>(
StartOptions options
)
public:
generic<typename TStartup>
static IDisposable^ Start(
StartOptions^ options
)
static member Start :
options:StartOptions -> IDisposable
JScript does not support generic types and methods.
Type Parameters
- TStartup
The type of the entry point.
Parameters
- options
Type: Microsoft.Owin.Hosting.StartOptions
The starting options.
Return Value
Type: System.IDisposable
An IDisposable instance that can be called to shut down the web app.