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 回呼存取時才設定。

適用於