System.Classes.TComponent.EndInvoke

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure EndInvoke(const ASyncResult: IAsyncResult); overload;
function EndInvoke<TResult>(const AsyncResult: IAsyncResult): TResult; overload;

C++

void __fastcall EndInvoke(const System::Types::_di_IAsyncResult ASyncResult)/* overload */;
template<typename TResult> TResult __fastcall EndInvoke(const System::Types::_di_IAsyncResult AsyncResult)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
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.

EndInvoke raises any exception that may occur while the asynchronous method executes.

See Also