System.Threading.TTask.Start

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function Start: ITask;

C++

_di_ITask __fastcall Start();

Propriétés

Type Visibilité  Source Unité  Parent
function protected
System.Threading.pas
System.Threading.hpp
System.Threading TTask


Description

Start exécute la tâche d'appel et renvoie une instance ITask de cette tâche.

Avant d'exécuter la tâche, Start contrôle si elle n'est pas déjà terminée ou si elle a déjà démarré. Si la tâche est terminée, elle déclenche un événement EInvalidOperation. Si la tâche est démarrée, elle appelle QueueEvents.

Voir aussi