 | AvailableTriggers Enumeration |
Trigger types that can be made available to UI elements.
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.10.1
Syntax[FlagsAttribute]
public enum AvailableTriggers
<FlagsAttribute>
Public Enumeration AvailableTriggers
[FlagsAttribute]
public enum class AvailableTriggers
Members
| Member name | Value | Description |
---|
| 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. |
| Event | 1 | Triggers the task when a specific event occurs. Version 1.2 only. |
| SessionStateChange | 2048 | Triggers the task when a specific user session state changes. Version 1.2 only. |
| Custom | 4096 | Triggers the custom trigger. Version 1.3 only. |
| AllTriggers | 7167 | All triggers are available. |
See Also