ServiceController Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the ServiceController class.

Namespace:   System.ServiceProcess
Assembly:  System.ServiceProcess (in System.ServiceProcess.dll)

NameDescription
System_CAPS_pubmethodServiceController()

Initializes a new instance of the ServiceController class that is not associated with a specific service.

System_CAPS_pubmethodServiceController(String)

Initializes a new instance of the ServiceController class that is associated with an existing service on the local computer.

System_CAPS_pubmethodServiceController(String, String)

Initializes a new instance of the ServiceController class that is associated with an existing service on the specified computer.

Return to top
Show: