System.Classes.TComponent.EndFunctionInvoke
Delphi
function EndFunctionInvoke(const AsyncResult: IAsyncResult): TObject;
C++
System::TObject* __fastcall EndFunctionInvoke(const System::Types::_di_IAsyncResult AsyncResult);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Classes.pas System.Classes.hpp |
System.Classes | TComponent |
Description
Blocks the caller until the specified ASyncResult
completes.
Returns the result from the method that BeginInvoke asynchronously executes. This result is immediately returned after the given IAsyncResult finishes. The result type corresponds to a TObject class type.
EndInvoke raises any exception that may occur while the asynchronous method executes.