OnWaitTimeoutExpired event
|
acThread, acHTTP, acSendMail and acSQLQueryThread components.
|
var
|
TacThreadWaitTimeoutExpired = procedure(Sender: TObject; var TerminateThread: Boolean) of object;
|
|
property OnWaitTimeoutExpired: TacThreadWaitTimeoutExpired;
|
The OnWaitTimeoutExpired event occurs when the component did not finished execution for the time interval specified in WaitTimeout property (when WaitTimeout is expired).
|
|
The TherminateThread is optional parameter (True by default), which allows to terminate, or prevent termination of thread in case if specified time interval is expired before completion of execution of the thread.
|
The WaitTimeout only works together with WaitThread property, only when it set to True.
|
WaitThread and WaitTimeout properties;
|
Terminate method.
|