SystemdNotifier Clase

Definición

Proporciona compatibilidad para notificar al sistema el estado del servicio.

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
Herencia
SystemdNotifier
Atributos
Implementaciones

Constructores

Nombre Description
SystemdNotifier()

Crea una instancia de un nuevo SystemdNotifier y establece la ruta de acceso del socket de notificación.

Propiedades

Nombre Description
IsEnabled

Devuelve si systemd está configurado para recibir notificaciones de servicio.

Métodos

Nombre Description
Notify(ServiceState)

Envía una notificación a systemd.

Se aplica a