SystemdNotifier Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides support to notify systemd about the service status.
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
- Inheritance
-
SystemdNotifier
- Attributes
- Implements
Constructors
SystemdNotifier() |
Instantiates a new SystemdNotifier and sets the notify socket path. |
Properties
IsEnabled |
Returns whether systemd is configured to receive service notifications. |
Methods
Notify(ServiceState) |
Sends a notification to systemd. |
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.