System.Threading.TTask.Start
Delphi
function Start: ITask;
C++
_di_ITask __fastcall Start(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | System.Threading.pas System.Threading.hpp |
System.Threading | TTask |
Description
Start runs the calling task and returns an ITask instance of this task.
Before running the task, Start checks if the task is not already completed or if the task is already started. If the task is completed, it raises an EInvalidOperation event. If the task is started, it calls QueueEvents.