REST.Client.TRESTExecutionThread.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AExecuteMethod: TExecuteMethod; ARequest: TCustomRESTRequest;
ACompletionHandler: TCompletionHandler; ASynchronized: Boolean; AFreeThread: Boolean = True; ACompletionHandlerWithError: TCompletionHandlerWithError = nil);

C++

__fastcall TRESTExecutionThread(TExecuteMethod AExecuteMethod, TCustomRESTRequest* ARequest, System::Sysutils::_di_TProc ACompletionHandler, bool ASynchronized, bool AFreeThread, System::DelphiInterface<System::Sysutils::TProc__1<System::TObject*> > ACompletionHandlerWithError);

Properties

Type Visibility Source Unit Parent
constructor public
REST.Client.pas
REST.Client.hpp
REST.Client TRESTExecutionThread

Description

Creates an instance of a thread object.

REST.Client.TRESTExecutionThread.Create inherits from System.Classes.TThread.Create. All content below this line refers to System.Classes.TThread.Create.

Creates an instance of a thread object.

Call Create to create a thread in an application. If CreateSuspended is false, Execute is called immediately after the constructor. If CreateSuspended is true, Execute is not called until after the Start method is called.

See Also

Code Examples