RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TComServer.OnLastRelease Event

Occurs when the last object using the server is released.

Pascal
property OnLastRelease: TLastReleaseEvent;
C++
__property TLastReleaseEvent OnLastRelease;

Use OnLastRelease to write a handler to process some action after the last object using the server is released, and just before the server shuts down. ShutDown indicates whether the server should be unloaded. 

TLastReleaseEvent is the type of the OnLastRelease event. Shutdown indicates whether the server will shut down after processing the OnLastRelease event. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!