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
- 특성
- 구현
생성자
| Name | Description |
|---|---|
| SystemdNotifier() |
새 SystemdNotifier 인스턴스화하고 알림 소켓 경로를 설정합니다. |
속성
| Name | Description |
|---|---|
| IsEnabled |
systemd가 서비스 알림을 받도록 구성되었는지 여부를 반환합니다. |
메서드
| Name | Description |
|---|---|
| Notify(ServiceState) |
systemd에 알림을 보냅니다. |