Share via


KestrelServerOptionsSystemdExtensions.UseSystemd Methode

Definition

Überlädt

UseSystemd(KestrelServerOptions)

Öffnen Sie Dateideskriptoren (ab SD_LISTEN_FDS_START), die von systemd socketbasierter Aktivierungslogik initialisiert werden, falls verfügbar.

UseSystemd(KestrelServerOptions, Action<ListenOptions>)

Öffnen Sie Dateideskriptoren (ab SD_LISTEN_FDS_START), die von systemd socketbasierter Aktivierungslogik initialisiert werden, falls verfügbar. Geben Sie den Rückruf an, um endpunktspezifische Einstellungen zu konfigurieren.

UseSystemd(KestrelServerOptions)

Quelle:
KestrelServerOptionsSystemdExtensions.cs
Quelle:
KestrelServerOptionsSystemdExtensions.cs

Öffnen Sie Dateideskriptoren (ab SD_LISTEN_FDS_START), die von systemd socketbasierter Aktivierungslogik initialisiert werden, falls verfügbar.

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

Parameter

Gibt zurück

Die KestrelServerOptions.

Gilt für:

UseSystemd(KestrelServerOptions, Action<ListenOptions>)

Quelle:
KestrelServerOptionsSystemdExtensions.cs
Quelle:
KestrelServerOptionsSystemdExtensions.cs

Öffnen Sie Dateideskriptoren (ab SD_LISTEN_FDS_START), die von systemd socketbasierter Aktivierungslogik initialisiert werden, falls verfügbar. Geben Sie den Rückruf an, um endpunktspezifische Einstellungen zu konfigurieren.

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

Parameter

configure
Action<ListenOptions>

Gibt zurück

Die KestrelServerOptions.

Gilt für: