Robuta

https://learn.microsoft.com/en-us/dotnet/api/system.serviceprocess.servicebase?view=netframework-4.8.1&redirectedfrom=MSDN ServiceBase Class (System.ServiceProcess) | Microsoft Learn Provides a base class for a service that will exist as part of a service application. ServiceBase must be derived from when creating a new service class. class systemmicrosoftlearn https://learn.microsoft.com/cs-cz/dotnet/api/system.serviceprocess.servicebase.servicemaincallback?view=netframework-4.8.1&viewFallbackFrom=net-10.0-pp ServiceBase.ServiceMainCallback(Int32, IntPtr) Method (System.ServiceProcess) | Microsoft Learn Registers the command handler and starts the service. methodsystemmicrosoftlearn https://learn.microsoft.com/pt-br/dotnet/api/system.serviceprocess.servicebase.onstop?view=netframework-4.8.1 ServiceBase.OnStop Method (System.ServiceProcess) | Microsoft Learn When implemented in a derived class, executes when a Stop command is sent to the service by the Service Control Manager (SCM). Specifies actions to take when a... methodsystemmicrosoftlearn https://learn.microsoft.com/pt-br/dotnet/api/system.serviceprocess.servicebase.onshutdown?view=netframework-4.8.1 ServiceBase.OnShutdown Method (System.ServiceProcess) | Microsoft Learn When implemented in a derived class, executes when the system is shutting down. Specifies what should occur immediately prior to the system shutting down. methodsystemmicrosoftlearn https://learn.microsoft.com/cs-cz/dotnet/api/system.serviceprocess.servicebase.autolog?view=netframework-4.8.1&viewFallbackFrom=net-10.0-pp ServiceBase.AutoLog Property (System.ServiceProcess) | Microsoft Learn Indicates whether to report Start, Stop, Pause, and Continue commands in the event log. property systemautologmicrosoftlearn https://learn.microsoft.com/cs-cz/dotnet/api/system.serviceprocess.servicebase.canhandlesessionchangeevent?view=netframework-4.8.1&viewFallbackFrom=net-10.0-pp ServiceBase.CanHandleSessionChangeEvent Property (System.ServiceProcess) | Microsoft Learn Gets or sets a value that indicates whether the service can handle session change events received from a Terminal Server session. property systemmicrosoftlearn