The ScheduledTaskState enumeration contains a list of the current states of the task in the scheduled tasks container.
It is used by the following property:
| Value | Brief description |
| 0 | Inactive. The task is not active. |
| 1 | Ready. The task is ready to execute. |
| 2 | Executing. The task is being executed at the moment. |
| 3 | Succeeded. The task is successfully executed. |
| 4 | Failed. The task is executed with error. |
See also: