ListenOptions.KestrelServerOptions 属性

定义

KestrelServerOptions获取侦听器选项的 。 使连接中间件能够解析和使用应用程序在启动期间注册的服务。

public:
 property Microsoft::AspNetCore::Server::Kestrel::Core::KestrelServerOptions ^ KestrelServerOptions { Microsoft::AspNetCore::Server::Kestrel::Core::KestrelServerOptions ^ get(); };
public Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions KestrelServerOptions { get; }
member this.KestrelServerOptions : Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions
Public ReadOnly Property KestrelServerOptions As KestrelServerOptions

属性值

注解

仅当从 Listen* 方法的 KestrelServerOptions 回调访问时才设置。

适用于