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
- appBuilderFactory
Type: Microsoft.Owin.Hosting.Builder.IAppBuilderFactory
The application builder factory.
- traceOutputFactory
Type: Microsoft.Owin.Hosting.Tracing.ITraceOutputFactory
The trace output factory.
- appLoader
Type: Microsoft.Owin.Hosting.Loader.IAppLoader
The application loader.
- serverFactoryLoader
Type: Microsoft.Owin.Hosting.ServerFactory.IServerFactoryLoader
The server factory loader.