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, IntPtr)
Stop()
net10.0-windows7.0
namespace System.ServiceProcess
{
public class ServiceBase : Component
{
public void RequestAdditionalTime(TimeSpan time);
}
}
nuget.org | 0.0 % Reference this API |
---|---|
Design Reviews |
|
.NET | 8.09.010.0 |
Information specific to net10.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
Assemblies | System.ServiceProcess.ServiceController , Version=10.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.ServiceProcess.ServiceController , Version=9.0.0.3, PublicKeyToken=b03f5f7f11d50a3a |
Referencing | Your project needs a package reference to |
Package | System.ServiceProcess.ServiceController (10.0.0-preview.1.25080.5) net9.0 |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API