System.Threading.ITask Methods

From RAD Studio API Documentation
Jump to: navigation, search


InheritedProtected
AddRefpublicIncrements the reference count for this interface.
CancelpublicCancel allows you to stop a task.
CheckCanceledpublicCheckCanceled allows you to check if an operation is canceled.
ExecuteWorkpublic
GetIdpublicIs the implementations of the ITask.GetId function.
GetStatuspublicITask provides GetStatus to get the available status defined for a task.
QueryInterfacepublicReturns a reference to a specified interface if the object supports that interface.
ReleasepublicDecrements the reference count for this interface.
ShouldExecutepublic
StartpublicStart begins running a task, returning an instance of ITask.
SupportspublicIndicates whether a given interface supports a specific (another) interface.
WaitpublicUse Wait to have the calling thread for the task to either complete or for the timeout period to elapse.