PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Requests the cancelation of a parallel task.
Example
// Déclenche l'exécution d'une tâche
t is ParallelTask = ParallelTaskExecute(Proc)
...
// Annule l'exécution de la tâche
ParallelTaskRequestCancelation(t)
Syntax

Requesting the cancelation of a parallel task Hide the details

ParallelTaskRequestCancelation(<Task>)
<Task>: ParallelTask variable
Name of the variable of type ParallelTask to be used.

Requesting the cancelation of parallel tasks found in an array Hide the details

ParallelTaskRequestCancelation(<Array of tasks>)
<Array of tasks>: Array of ParallelTask variables
Name of array of variables of type ParallelTask to handle.
Remarks
  • A cancelation request is transmitted to the task. The code of the task must manage the cancelation request via the following syntax:
    MaTâcheParallèle.Annulée
  • The call to ParallelTaskRequestCancelation is a non-locking call. The task is considered as being canceled as soon as the function is called.
  • The task is flagged as ptsCancelationRequested. Any call to Property ReturnedValue will cause a fatal error.
Component: wd270vm.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment