Bagikan melalui


SystemdNotifier Kelas

Definisi

Menyediakan dukungan untuk memberi tahu systemd tentang status layanan.

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
Warisan
SystemdNotifier
Atribut
Penerapan

Konstruktor

SystemdNotifier()

Membuat instans baru SystemdNotifier dan mengatur jalur soket pemberitahuan.

Properti

IsEnabled

Mengembalikan apakah systemd dikonfigurasi untuk menerima pemberitahuan layanan.

Metode

Equals(Object)

Menentukan apakah objek yang ditentukan sama dengan objek saat ini.

(Diperoleh dari Object)
GetHashCode()

Berfungsi sebagai fungsi hash default.

(Diperoleh dari Object)
GetType()

Mendapatkan instans Type saat ini.

(Diperoleh dari Object)
MemberwiseClone()

Membuat salinan dangkal dari yang saat ini Object.

(Diperoleh dari Object)
Notify(ServiceState)

Mengirim pemberitahuan ke systemd.

ToString()

Mengembalikan string yang mewakili objek saat ini.

(Diperoleh dari Object)

Berlaku untuk