KestrelServer 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
KestrelServer(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Server::Kestrel::KestrelServerOptions ^> ^ options, Microsoft::AspNetCore::Hosting::IApplicationLifetime ^ applicationLifetime, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public KestrelServer (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Server.Kestrel.KestrelServerOptions> options, Microsoft.AspNetCore.Hosting.IApplicationLifetime applicationLifetime, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Server.Kestrel.KestrelServer : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Server.Kestrel.KestrelServerOptions> * Microsoft.AspNetCore.Hosting.IApplicationLifetime * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Server.Kestrel.KestrelServer
Public Sub New (options As IOptions(Of KestrelServerOptions), applicationLifetime As IApplicationLifetime, loggerFactory As ILoggerFactory)
參數
- options
- IOptions<KestrelServerOptions>
- applicationLifetime
- IApplicationLifetime
- loggerFactory
- ILoggerFactory