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

适用于