Поделиться через


KestrelServer Конструкторы

Определение

Перегрузки

KestrelServer(IOptions<KestrelServerOptions>, IConnectionListenerFactory, ILoggerFactory)

Инициализирует новый экземпляр KestrelServer.

KestrelServer(IOptions<KestrelServerOptions>, ITransportFactory, ILoggerFactory)

KestrelServer(IOptions<KestrelServerOptions>, IConnectionListenerFactory, ILoggerFactory)

Исходный код:
KestrelServer.cs

Инициализирует новый экземпляр 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)

Параметры

Применяется к

KestrelServer(IOptions<KestrelServerOptions>, ITransportFactory, ILoggerFactory)

Исходный код:
KestrelServer.cs
Исходный код:
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)

Параметры

transportFactory
Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ITransportFactory
loggerFactory
ILoggerFactory

Применяется к