SystemdNotifier Classe
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
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. |