KestrelServerOptionsSystemdExtensions.UseSystemd 方法

定义

重载

UseSystemd(KestrelServerOptions)

打开文件描述符 (从 SD_LISTEN_FDS_START) 由基于套接字的系统激活逻辑初始化(如果可用)。

UseSystemd(KestrelServerOptions, Action<ListenOptions>)

打开文件描述符 (从 SD_LISTEN_FDS_START) 由基于套接字的系统激活逻辑初始化(如果可用)。 指定回调以配置特定于终结点的设置。

UseSystemd(KestrelServerOptions)

Source:
KestrelServerOptionsSystemdExtensions.cs
Source:
KestrelServerOptionsSystemdExtensions.cs
Source:
KestrelServerOptionsSystemdExtensions.cs

打开文件描述符 (从 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>)

Source:
KestrelServerOptionsSystemdExtensions.cs
Source:
KestrelServerOptionsSystemdExtensions.cs
Source:
KestrelServerOptionsSystemdExtensions.cs

打开文件描述符 (从 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

适用于