Sdílet prostřednictvím


SystemdNotifier.Notify(ServiceState) Metoda

Definice

Odešle oznámení do 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)

Parametry

state
ServiceState

Stav služby, který se má oznámit.

Implementuje

Platí pro