ServiceBase
MaxNameLength
ServiceBase()
AutoLog
CanHandlePowerEvent
CanHandleSessionChangeEvent
CanPauseAndContinue
CanShutdown
CanStop
EventLog
ExitCode
ServiceHandle
ServiceName
Dispose(Boolean)
OnContinue()
OnCustomCommand(Int32)
OnPause()
OnPowerEvent(PowerBroadcastStatus)
OnSessionChange(SessionChangeDescription)
OnShutdown()
OnStart(String[])
OnStop()
RequestAdditionalTime(Int32)
RequestAdditionalTime(TimeSpan)
Run(ServiceBase)
Run(ServiceBase[])
ServiceMainCallback(Int32, nint)
Stop()
net10.0
namespace System.ServiceProcess
{
public class ServiceBase : Component
{
public void Stop();
}
}
| nuget.org | 0.0 % Reference this API |
|---|---|
| .NET | 8.09.010.0 |
| .NET Framework | 2.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
Information specific to net10.0 | |
| Assembly | System.ServiceProcess.ServiceController , Version=10.0.0.1, PublicKeyToken=b03f5f7f11d50a3a |
| Referencing | Your project needs a package reference to |
| Package | System.ServiceProcess.ServiceController (10.0.1) net10.0 |
| Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API