Table of Contents

Class ServiceStateChangedEventArgs

Namespace
ZebraPuma.System.ServiceProcess
Assembly
ZebraPuma.System.ServiceProcess.dll

Arguments d'événement pour le changement d'état d'un service.

public class ServiceStateChangedEventArgs : EventArgs
Inheritance
ServiceStateChangedEventArgs
Inherited Members

Constructors

ServiceStateChangedEventArgs(string, bool)

Initialise une nouvelle instance de ServiceStateChangedEventArgs.

public ServiceStateChangedEventArgs(string name, bool isRunning)

Parameters

name string

Le nom du service.

isRunning bool

True si le service est en cours d'exécution.

Properties

IsRunning

Indique si le service est en cours d'exécution.

public bool IsRunning { get; }

Property Value

bool

Name

Nom du service qui a changé d'état.

public string Name { get; }

Property Value

string