This documentation is archived and is not being maintained.

ServiceController Constructor

Initializes a new instance of the ServiceController class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

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