Multiple choice technology architecture

Which of the following components can send messages to a Windows service to start, stop, pause, or continue?

  1. System.ServiceProcess.ServiceController

  2. System.ServiceProcess.ServiceBase

  3. System.ServiceProcess.ServiceInstaller

  4. System.ServiceProcess.ServiceProcessInstaller

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

ServiceController is the .NET class designed to interact with and control existing Windows services, providing methods like Start(), Stop(), Pause(), and Continue() to send control commands. ServiceBase is the base class for creating custom services, while ServiceInstaller and ServiceProcessInstaller handle service installation - none of these control running services.