Indy 9
TIdExceptionThreadEvent
See Also, Unit: IdThread
Event type rasised when an exception occurs during thread execution.
TIdExceptionThreadEvent = procedure (AThread: TIdThread; AException: Exception) of object;
Unit
IdThread
Parameters
AException
Exception object raised during thread execution.
AThread
Thread raising the exception notification event.
Description
TIdExceptionThreadEvent is an event type signalled when an executing TIdThread encounters an exception. TIdExceptionThreadEvent is the type used to represent the TIdThread.OnException property and implements exception handling for the thread prior to exiting from the Execute method, and calling Terminate for the thread.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.