ServiceController Constructor
.NET Framework 4.5
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.
| 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. |