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