KestrelServer Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
KestrelServer(IOptions<KestrelServerOptions>, IConnectionListenerFactory, ILoggerFactory)
- Source:
- KestrelServer.cs
Initialise une nouvelle instance de 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)
Paramètres
- options
- IOptions<KestrelServerOptions>
Kestrel IOptions<TOptions>.
- transportFactory
- IConnectionListenerFactory
L’IConnectionListenerFactoryopérateur
- loggerFactory
- ILoggerFactory
L’ILoggerFactoryopérateur
S’applique à
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)
Paramètres
- options
- IOptions<KestrelServerOptions>
- transportFactory
- Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ITransportFactory
- loggerFactory
- ILoggerFactory