System.Classes.TComponent.EndInvoke

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

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 */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
procedure
function
public
System.Classes.pas
System.Classes.hpp
System.Classes TComponent


Beschreibung

Blockiert den Aufrufer, bis das angegebene ASyncResult fertiggestellt ist.

Gibt das Ergebnis aus der Methode zurück, die BeginInvoke asynchron ausführt. Dieses Ergebnis wird sofort nach Abschluss des angegebenen IAsyncResult zurückgegeben.

EndInvoke löst Exceptions aus, die bei Ausführung der asynchronen Methode auftreten könnten.

Siehe auch