System.Threading.ITask
Delphi
ITask = interface(TThreadPool.IThreadPoolWorkItem)
C++
__interface ITask : public TThreadPool::IThreadPoolWorkItem
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
interface class |
public | System.Threading.pas System.Threading.hpp |
System.Threading | System.Threading |
Description
ITask provides a range of methods and properties to start, wait, and cancel a process, as well as a property to know its status.
Instances of ITask are returned by TParallel.Join, as well as by methods of TTask. TTask and its descendant types implement the ITask interface.