Vcl.SvcMgr.TServiceEvent

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef void __fastcall (__closure *TServiceEvent)(TService* Sender);

Properties

Type Visibility Source Unit Parent
typedef public Vcl.SvcMgr.hpp Vcl.SvcMgr Vcl.SvcMgr

Description

TServiceEvent is the procedure type used for service events that do not require parameters.

TServiceEvent specifies a method used for service events that have no event-specific parameters. TServiceEvent is used to execute a process that occurs typically during installation, uninstallation, or shutdown. It is also the event type for the main service execution. The Sender parameter is the service component receiving the event notification.

See Also