SystemdNotifier Klass

Definition

Ger stöd för att meddela systemd om tjänstens status.

public ref class SystemdNotifier : Microsoft::Extensions::Hosting::Systemd::ISystemdNotifier
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public class SystemdNotifier : Microsoft.Extensions.Hosting.Systemd.ISystemdNotifier
public class SystemdNotifier : Microsoft.Extensions.Hosting.Systemd.ISystemdNotifier
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
type SystemdNotifier = class
    interface ISystemdNotifier
type SystemdNotifier = class
    interface ISystemdNotifier
Public Class SystemdNotifier
Implements ISystemdNotifier
Arv
SystemdNotifier
Attribut
Implementeringar

Konstruktorer

Name Description
SystemdNotifier()

Instansierar en ny SystemdNotifier och anger sökvägen för meddelandesocket.

Egenskaper

Name Description
IsEnabled

Returnerar om systemd har konfigurerats för att ta emot tjänstmeddelanden.

Metoder

Name Description
Notify(ServiceState)

Skickar ett meddelande till systemd.

Gäller för