Partager via


ServiceState(String) Constructor

Definition

Create custom ServiceState.

public:
 ServiceState(System::String ^ state);
public ServiceState (string state);
new Microsoft.Extensions.Hosting.Systemd.ServiceState : string -> Microsoft.Extensions.Hosting.Systemd.ServiceState
Public Sub New (state As String)

Parameters

state
String

A String representation of service state.

Applies to