This documentation is archived and is not being maintained.

ServiceController Constructor

Initializes a new instance of the ServiceController class.

Name Description
ServiceController () Initializes a new instance of the ServiceController class that is not associated with a specific service.
ServiceController (String) Initializes a new instance of the ServiceController class that is associated with an existing service on the local computer.
ServiceController (String, String) Initializes a new instance of the ServiceController class that is associated with an existing service on the specified computer.
Show: