共用方式為


ISystemdNotifier.Notify(ServiceState) 方法

定義

將通知傳送至 systemd。

public:
 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
Public Sub Notify (state As ServiceState)

參數

state
ServiceState

要通知的 ServiceState

適用於