Action(Antecedent: ITask): Variant;
Action(Antecedent: Prognoz.Platform.Interop.ForeSystem.ITask): Object;
Antecedent. The task, upon execution of which the current task was started.
The Action method implements action that is executed when a task is run for execution.
This method must be redefined in the custom class. A task can be created and run in asynchronous mode within the action.
Value returned by this method is available in the Result property after the task is completed.
The property use is given in description of the ITask.ContinueWith method.
See also: