SystemdNotifier クラス

定義

サービスの状態についてシステムに通知するためのサポートを提供します。

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
継承
SystemdNotifier
属性
実装

コンストラクター

名前 説明
SystemdNotifier()

新しい SystemdNotifier をインスタンス化し、通知ソケット パスを設定します。

プロパティ

名前 説明
IsEnabled

systemd がサービス通知を受信するように構成されているかどうかを返します。

メソッド

名前 説明
Notify(ServiceState)

systemd に通知を送信します。

適用対象