SystemdNotifier Classe
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Fornece suporte para notificar o sistema sobre o status 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
| Nome | Description |
|---|---|
| SystemdNotifier() |
Cria uma instância de um novo SystemdNotifier e define o caminho do soquete de notificação. |
Propriedades
| Nome | Description |
|---|---|
| IsEnabled |
Retorna se o sistema está configurado para receber notificações de serviço. |
Métodos
| Nome | Description |
|---|---|
| Notify(ServiceState) |
Envia uma notificação para systemd. |