TTask.Schedule (TitTask)
(Version 11) <source lang='delphi'>class function Scheduler(const iPlanification:string; iAttributes:Array of string; iValues:Array of variant):boolean;</source>
Cette fonction planifie une tâche.
Paramètre | Usage |
---|---|
iPlanification | Chaîne de définition de la planification |
iAttributes | Un tableau de propriété de la tâche qui seront initialisée lorsque la tâche sera déclenchée |
iValues | Un tableau de valeur correspondant aux attributs initialisés |
Result | True si la tâche a été posté |
Exemple :
<source lang="delphi"> //Procedure TestRegisterTasks; begin
MyTask.Schedule('<planification RepeatValue="Minutes" RepeatInterval="1" StartOfPeriodDate="20221203T00"/>',['unCode','unEntier'],['Z',0]);
end;</source>
Voir aussi:
{{#if:Classe_tâche_(stereotype)|
{{#if:Classe_tâche_(stereotype)|— Classe_tâche_(stereotype) |}} — Développement DSM —
|
{{#if:|— [[{{{1}}}]] |}} — Développement DSM —
}}