RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TThread.FatalException Property

Determines whether the thread object is automatically destroyed when the thread terminates.

Pascal
property FatalException: TObject;
C++
__property TObject * FatalException;

If the Execute method raises an exception that is not caught and handled within that method, the thread terminates and sets FatalException to the exception object for that exception. Applications can check FatalException from an OnTerminate event handler to determine whether the thread terminated due to an exception. 

 

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