语言

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 通知的。

适用于