RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TService.OnShutdown Event

Occurs when the system running the service application is about to shut down.

Pascal
property OnShutdown: TServiceEvent;
C++
__property TServiceEvent OnShutdown;

Write an OnShutdown event handler to take specific action just before the service shuts down. The service application terminates immediately after OnShutdown. 

 

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