Langue

SystemdHelpers.IsSystemdService Méthode

Définition

Vérifie si le processus actuel est hébergé en tant que service système.

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

Retours

true si le processus actuel est hébergé en tant que service système ; sinon, false.

S’applique à