AvailableTriggers Enumeration
Trigger types that can be made available to UI elements.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.11.1
[FlagsAttribute]
[DefaultValueAttribute(AvailableTriggers.Time)]
public enum AvailableTriggers
Event | 1 | Triggers the task when a specific event occurs. Version 1.2 only. |
Time | 2 | Triggers the task at a specific time of day. |
Daily | 4 | Triggers the task on a daily schedule. |
Weekly | 8 | Triggers the task on a weekly schedule. |
Monthly | 16 | Triggers the task on a monthly schedule. |
MonthlyDOW | 32 | Triggers the task on a monthly day-of-week schedule. |
Idle | 64 | Triggers the task when the computer goes into an idle state. |
Registration | 128 | Triggers the task when the task is registered. Version 1.2 only. |
Boot | 256 | Triggers the task when the computer boots. |
Logon | 512 | Triggers the task when a specific user logs on. |
SessionStateChange | 2,048 | Triggers the task when a specific user session state changes. Version 1.2 only. |
Custom | 4,096 | Triggers the custom trigger. Version 1.3 only. |
AllTriggers | 7,167 | All triggers are available. |