FireDAC.Comp.Client.TFDCustomEventAlerter.OnTimeout
Delphi
property OnTimeout: TNotifyEvent read FOnTimeout write FOnTimeout;
C++
__property System::Classes::TNotifyEvent OnTimeout = {read=FOnTimeout, write=FOnTimeout};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDCustomEventAlerter |
Description
The event fires when a DBMS event is timed out.
Use the OnTimeout event handler to specify an event handler that will be fired after being specified by the Options.Timeout time and if no event is fired. The specified timeout is in milliseconds.
The event handler can be fired in its own event alerter thread (False) or in the main application thread (True), depending on the Options.Synchronize option.