System.Classes.TThread.FatalException
Delphi
property FatalException: TObject read FFatalException;
C++
__property System::TObject* FatalException = {read=FFatalException};
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
property | public | System.Classes.pas System.Classes.hpp |
System.Classes | TThread |
Description
Détermine si l'objet thread est automatiquement détruit lorsque le thread s'achève.
Si la méthode Execute provoque une exception qui n'est pas capturée ni gérée à l'intérieur de cette méthode, le thread se termine et définit FatalException par l'objet exception de cette exception. Les applications peuvent tester FatalException depuis un gestionnaire d'événement OnTerminate pour déterminer si l'achèvement du thread est due à une exception.