Share via


HostingEngine Constructor

Initializes a new instance of the HostingEngine class.

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

Syntax

'Declaration
Public Sub New ( _
    appBuilderFactory As IAppBuilderFactory, _
    traceOutputFactory As ITraceOutputFactory, _
    appLoader As IAppLoader, _
    serverFactoryLoader As IServerFactoryLoader _
)
'Usage
Dim appBuilderFactory As IAppBuilderFactory 
Dim traceOutputFactory As ITraceOutputFactory 
Dim appLoader As IAppLoader 
Dim serverFactoryLoader As IServerFactoryLoader 

Dim instance As New HostingEngine(appBuilderFactory, _
    traceOutputFactory, appLoader, serverFactoryLoader)
public HostingEngine(
    IAppBuilderFactory appBuilderFactory,
    ITraceOutputFactory traceOutputFactory,
    IAppLoader appLoader,
    IServerFactoryLoader serverFactoryLoader
)
public:
HostingEngine(
    IAppBuilderFactory^ appBuilderFactory, 
    ITraceOutputFactory^ traceOutputFactory, 
    IAppLoader^ appLoader, 
    IServerFactoryLoader^ serverFactoryLoader
)
new : 
        appBuilderFactory:IAppBuilderFactory * 
        traceOutputFactory:ITraceOutputFactory * 
        appLoader:IAppLoader * 
        serverFactoryLoader:IServerFactoryLoader -> HostingEngine
public function HostingEngine(
    appBuilderFactory : IAppBuilderFactory, 
    traceOutputFactory : ITraceOutputFactory, 
    appLoader : IAppLoader, 
    serverFactoryLoader : IServerFactoryLoader
)

Parameters

See Also

Reference

HostingEngine Class

Microsoft.Owin.Hosting.Engine Namespace