SystemdNotifier Classe

Definizione

Fornisce supporto per notificare allo stato del servizio il sistema.

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
Ereditarietà
SystemdNotifier
Attributi
Implementazioni

Costruttori

Nome Descrizione
SystemdNotifier()

Crea un'istanza di un nuovo SystemdNotifier oggetto e imposta il percorso del socket di notifica.

Proprietà

Nome Descrizione
IsEnabled

Restituisce un valore che indica se systemd è configurato per ricevere le notifiche del servizio.

Metodi

Nome Descrizione
Notify(ServiceState)

Invia una notifica a systemd.

Si applica a