System.Classes.TBaseAsyncResult.DoAsyncDispatch
Delphi
procedure DoAsyncDispatch;
C++
void __fastcall DoAsyncDispatch();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Classes.pas System.Classes.hpp |
System.Classes | TBaseAsyncResult |
Description
Calls the current target asynchronous method within the context where it was scheduled.
For example, it could be in the context of the main thread (a GUI or a background thread). That depends on the implementation of a specific asynchronous method call.
DoAsyncDispatch calls AsyncDispatch.
Exceptions
A call to DoAsyncDispatch may raise an exception. The object of the asynchronous call passes the raised exception to DoAsyncDispatch.