REST.Client.TRESTExecutionThread.Create
Delphi
constructor Create(AExecuteMethod: TExecuteMethod; ARequest: TCustomRESTRequest;
ACompletionHandler: TCompletionHandler; ASynchronized: Boolean; AFreeThread: Boolean = True; ACompletionHandlerWithError: TCompletionHandlerWithError = nil);
C++
__fastcall TRESTExecutionThread(TExecuteMethod AExecuteMethod, TCustomRESTRequest* ARequest, Rest::Types::TCompletionHandler ACompletionHandler, bool ASynchronized, bool AFreeThread, Rest::Types::TCompletionHandlerWithError ACompletionHandlerWithError);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
constructor | public | REST.Client.pas REST.Client.hpp |
REST.Client | TRESTExecutionThread |
説明
Create メソッドは,スレッドオブジェクトのインスタンスを作成します。
REST.Client.TRESTExecutionThread.Create は System.Classes.TThread.Create を継承しています。以下の内容はすべて System.Classes.TThread.Create を参照しています。
Create メソッドは,スレッドオブジェクトのインスタンスを作成します。
Create メソッドを呼び出すと,アプリケーションでスレッドを作成できます。CreateSuspended パラメータが False の場合,Execute メソッドがすぐに呼び出されます。CreateSuspended パラメータが True の場合,Resume メソッドが呼ばれるまで Execute メソッドは呼び出されません。