Share via


SystemdNotifier.Notify(ServiceState) Method

Definition

Sends a notification to systemd.

public:
 virtual void Notify(Microsoft::Extensions::Hosting::Systemd::ServiceState state);
public void Notify (Microsoft.Extensions.Hosting.Systemd.ServiceState state);
abstract member Notify : Microsoft.Extensions.Hosting.Systemd.ServiceState -> unit
override this.Notify : Microsoft.Extensions.Hosting.Systemd.ServiceState -> unit
Public Sub Notify (state As ServiceState)

Parameters

state
ServiceState

The service state to notify.

Implements

Applies to