SystemdNotifier Classe

Definição

Fornece suporte para notificar o systemd sobre o estado do serviço.

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
Herança
SystemdNotifier
Atributos
Implementações

Construtores

Name Description
SystemdNotifier()

Instância de um novo SystemdNotifier e define o caminho do socket de notificação.

Propriedades

Name Description
IsEnabled

Devolve se o systemd está configurado para receber notificações de serviço.

Métodos

Name Description
Notify(ServiceState)

Envia uma notificação para o systemd.

Aplica-se a