SystemdNotifier クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
サービスの状態についてシステムに通知するためのサポートを提供します。
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 に通知を送信します。 |