Bagikan melalui


KestrelServer Konstruktor

Definisi

Overload

KestrelServer(IOptions<KestrelServerOptions>, IConnectionListenerFactory, ILoggerFactory)

Menginisialisasi instans KestrelServerbaru .

KestrelServer(IOptions<KestrelServerOptions>, ITransportFactory, ILoggerFactory)

KestrelServer(IOptions<KestrelServerOptions>, IConnectionListenerFactory, ILoggerFactory)

Sumber:
KestrelServer.cs

Menginisialisasi instans KestrelServerbaru .

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)

Parameter

Berlaku untuk

KestrelServer(IOptions<KestrelServerOptions>, ITransportFactory, ILoggerFactory)

Sumber:
KestrelServer.cs
Sumber:
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)

Parameter

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

Berlaku untuk