Classes.TThread.FatalException
From RAD Studio VCL Reference
Contents |
Delphi Information
From Classes.pas
property FatalException: TObject read FFatalException;
Unit: Classes
Type: property
Visibility: public
Member Of: TThread
C++ Information
From Classes.hpp
__property System::TObject * FatalException = {read=FFatalException};
Unit: Classes
Type: property
Visibility: public
Member Of: TThread
Description
Determines whether the thread object is automatically destroyed when the thread terminates.
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.