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
특성
구현

생성자

Name Description
SystemdNotifier()

SystemdNotifier 인스턴스화하고 알림 소켓 경로를 설정합니다.

속성

Name Description
IsEnabled

systemd가 서비스 알림을 받도록 구성되었는지 여부를 반환합니다.

메서드

Name Description
Notify(ServiceState)

systemd에 알림을 보냅니다.

적용 대상