Task |
[DefaultValueAttribute(TaskTriggerType.Time)] public enum TaskTriggerType
| Member name | Value | Description |
|---|---|---|
| Event | 0 | Triggers the task when a specific event occurs. Version 1.2 only. |
| Time | 1 | Triggers the task at a specific time of day. |
| Daily | 2 | Triggers the task on a daily schedule. |
| Weekly | 3 | Triggers the task on a weekly schedule. |
| Monthly | 4 | Triggers the task on a monthly schedule. |
| MonthlyDOW | 5 | Triggers the task on a monthly day-of-week schedule. |
| Idle | 6 | Triggers the task when the computer goes into an idle state. |
| Registration | 7 | Triggers the task when the task is registered. Version 1.2 only. |
| Boot | 8 | Triggers the task when the computer boots. |
| Logon | 9 | Triggers the task when a specific user logs on. |
| SessionStateChange | 11 | Triggers the task when a specific user session state changes. Version 1.2 only. |
| Custom | 12 | Triggers the custom trigger. Version 1.3 only. |