Langue

SystemdNotifier Classe

Définition

Fournit une prise en charge de la notification système sur l’état du service.

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
Héritage
SystemdNotifier
Attributs
Implémente

Constructeurs

Nom Description
SystemdNotifier()

Instancie un nouveau SystemdNotifier socket et définit le chemin du socket de notification.

Propriétés

Nom Description
IsEnabled

Retourne si systemd est configuré pour recevoir des notifications de service.

Méthodes

Nom Description
Notify(ServiceState)

Envoie une notification à systemd.

S’applique à