Sprache

SystemdHelpers.IsSystemdService Methode

Definition

Überprüft, ob der aktuelle Prozess als systemd Service gehostet wird.

public:
 static bool IsSystemdService();
public static bool IsSystemdService();
static member IsSystemdService : unit -> bool
Public Shared Function IsSystemdService () As Boolean

Gibt zurück

truewenn der aktuelle Prozess als systemd Service gehostet wird; andernfalls . false

Gilt für: