RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SvcMgr.TServiceEvent Type

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

Pascal
TServiceEvent = procedure (Sender: TService) of object;
C++
(Sender: TService) ( TServiceEvent)();

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. 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!