RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TService.Destroy Destructor

Disposes of a TService instance.

Pascal
destructor Destroy; override;
C++
virtual __fastcall ~TService();

Destroy frees the memory associated with the objects for the Params and Dependencies properties that were created in the constructor, and for the EventLogger object created in the LogMessage method. Then it calls the inherited Destroy. 

 

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