Unit 'daemonapp' Package
[Overview][Resource strings][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TDaemonController.ReportStatus

Report the status to the operating system.

Declaration

Source position: daemonapp.pp line 138

public function TDaemonController.ReportStatus: Boolean; virtual;

Function result

True if the status was reported successfully.

Description

ReportStatus reports the status of the daemon to the operating system. On windows, this sends the current service status to the service manager. On other operating systems, this sends a message to the system log.

Errors

If an error occurs, an error message is sent to the system log.

See also

TCustomDaemon.ReportStatus

  

Report the current status to the operating system.

TDaemonController.LastStatus

  

Last reported status.


Documentation generated on: Jul 24 2023