KestrelServer Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
KestrelServer(IOptions<KestrelServerOptions>, IConnectionListenerFactory, ILoggerFactory)
- Source:
- KestrelServer.cs
Initializes a new instance of KestrelServer.
public:
KestrelServer(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Server::Kestrel::Core::KestrelServerOptions ^> ^ options, Microsoft::AspNetCore::Connections::IConnectionListenerFactory ^ transportFactory, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public KestrelServer (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions> options, Microsoft.AspNetCore.Connections.IConnectionListenerFactory transportFactory, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions> * Microsoft.AspNetCore.Connections.IConnectionListenerFactory * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer
Public Sub New (options As IOptions(Of KestrelServerOptions), transportFactory As IConnectionListenerFactory, loggerFactory As ILoggerFactory)
Parameters
- options
- IOptions<KestrelServerOptions>
The Kestrel IOptions<TOptions>.
- transportFactory
- IConnectionListenerFactory
- loggerFactory
- ILoggerFactory
The ILoggerFactory.
Applies to
KestrelServer(IOptions<KestrelServerOptions>, ITransportFactory, ILoggerFactory)
- Source:
- KestrelServer.cs
- Source:
- KestrelServer.cs
public:
KestrelServer(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Server::Kestrel::Core::KestrelServerOptions ^> ^ options, Microsoft::AspNetCore::Server::Kestrel::Transport::Abstractions::Internal::ITransportFactory ^ transportFactory, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public KestrelServer (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions> options, Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ITransportFactory transportFactory, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions> * Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ITransportFactory * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer
Public Sub New (options As IOptions(Of KestrelServerOptions), transportFactory As ITransportFactory, loggerFactory As ILoggerFactory)
Parameters
- options
- IOptions<KestrelServerOptions>
- transportFactory
- Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ITransportFactory
- loggerFactory
- ILoggerFactory