共用方式為


KestrelServerOptionsSystemdExtensions.UseSystemd 方法

定義

多載

UseSystemd(KestrelServerOptions)

如果可用,請開啟由 systemd 套接字型啟用邏輯初始化的檔案描述元(從 SD_LISTEN_FDS_START 開始)。

UseSystemd(KestrelServerOptions, Action<ListenOptions>)

如果可用,請開啟由 systemd 套接字型啟用邏輯初始化的檔案描述元(從 SD_LISTEN_FDS_START 開始)。 指定回呼以設定端點特定的設定。

UseSystemd(KestrelServerOptions)

來源:
KestrelServerOptionsSystemdExtensions.cs
來源:
KestrelServerOptionsSystemdExtensions.cs
來源:
KestrelServerOptionsSystemdExtensions.cs

如果可用,請開啟由 systemd 套接字型啟用邏輯初始化的檔案描述元(從 SD_LISTEN_FDS_START 開始)。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Server::Kestrel::Core::KestrelServerOptions ^ UseSystemd(Microsoft::AspNetCore::Server::Kestrel::Core::KestrelServerOptions ^ options);
public static Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions UseSystemd (this Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions options);
static member UseSystemd : Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions -> Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions
<Extension()>
Public Function UseSystemd (options As KestrelServerOptions) As KestrelServerOptions

參數

傳回

KestrelServerOptions

適用於

UseSystemd(KestrelServerOptions, Action<ListenOptions>)

來源:
KestrelServerOptionsSystemdExtensions.cs
來源:
KestrelServerOptionsSystemdExtensions.cs
來源:
KestrelServerOptionsSystemdExtensions.cs

如果可用,請開啟由 systemd 套接字型啟用邏輯初始化的檔案描述元(從 SD_LISTEN_FDS_START 開始)。 指定回呼以設定端點特定的設定。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Server::Kestrel::Core::KestrelServerOptions ^ UseSystemd(Microsoft::AspNetCore::Server::Kestrel::Core::KestrelServerOptions ^ options, Action<Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^> ^ configure);
public static Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions UseSystemd (this Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions options, Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> configure);
static member UseSystemd : Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions * Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> -> Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions
<Extension()>
Public Function UseSystemd (options As KestrelServerOptions, configure As Action(Of ListenOptions)) As KestrelServerOptions

參數

configure
Action<ListenOptions>

傳回

KestrelServerOptions

適用於