SystemdNotifier Klasse

Definition

Bietet Unterstützung, um das System über den Dienststatus zu benachrichtigen.

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
Vererbung
SystemdNotifier
Attribute
Implementiert

Konstruktoren

Name Beschreibung
SystemdNotifier()

Instanziiert ein neues SystemdNotifier und legt den Benachrichtigungssocketpfad fest.

Eigenschaften

Name Beschreibung
IsEnabled

Gibt zurück, ob systemd für den Empfang von Dienstbenachrichtigungen konfiguriert ist.

Methoden

Name Beschreibung
Notify(ServiceState)

Sendet eine Benachrichtigung an systemd.

Gilt für: