C# Class System.ServiceProcess.ServiceController

Inheritance: System.IDisposable
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode Description
Continue ( ) : void
Dispose ( ) : void
GetDevices ( ) : System.ServiceProcess.ServiceController[]
GetDevices ( string machineName ) : System.ServiceProcess.ServiceController[]
GetServices ( ) : System.ServiceProcess.ServiceController[]
GetServices ( string machineName ) : System.ServiceProcess.ServiceController[]
Pause ( ) : void
Refresh ( ) : void
ServiceController ( string name )
ServiceController ( string name, string machineName )
Start ( ) : void
Start ( string args ) : void
Stop ( ) : void
WaitForStatus ( System desiredStatus ) : void
WaitForStatus ( System desiredStatus, System timeout ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Method Details

Continue() public méthode

public Continue ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetDevices() public static méthode

public static GetDevices ( ) : System.ServiceProcess.ServiceController[]
Résultat System.ServiceProcess.ServiceController[]

GetDevices() public static méthode

public static GetDevices ( string machineName ) : System.ServiceProcess.ServiceController[]
machineName string
Résultat System.ServiceProcess.ServiceController[]

GetServices() public static méthode

public static GetServices ( ) : System.ServiceProcess.ServiceController[]
Résultat System.ServiceProcess.ServiceController[]

GetServices() public static méthode

public static GetServices ( string machineName ) : System.ServiceProcess.ServiceController[]
machineName string
Résultat System.ServiceProcess.ServiceController[]

Pause() public méthode

public Pause ( ) : void
Résultat void

Refresh() public méthode

public Refresh ( ) : void
Résultat void

ServiceController() public méthode

public ServiceController ( string name )
name string

ServiceController() public méthode

public ServiceController ( string name, string machineName )
name string
machineName string

Start() public méthode

public Start ( ) : void
Résultat void

Start() public méthode

public Start ( string args ) : void
args string
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

WaitForStatus() public méthode

public WaitForStatus ( System desiredStatus ) : void
desiredStatus System
Résultat void

WaitForStatus() public méthode

public WaitForStatus ( System desiredStatus, System timeout ) : void
desiredStatus System
timeout System
Résultat void