TaskTriggerType Enumeration

Defines the type of triggers that can be used by tasks.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.0
[DefaultValueAttribute(TaskTriggerType.Time)]
public enum TaskTriggerType

Members

Event0Triggers the task when a specific event occurs. Version 1.2 only.
Time1Triggers the task at a specific time of day.
Daily2Triggers the task on a daily schedule.
Weekly3Triggers the task on a weekly schedule.
Monthly4Triggers the task on a monthly schedule.
MonthlyDOW5Triggers the task on a monthly day-of-week schedule.
Idle6Triggers the task when the computer goes into an idle state.
Registration7Triggers the task when the task is registered. Version 1.2 only.
Boot8Triggers the task when the computer boots.
Logon9Triggers the task when a specific user logs on.
SessionStateChange11Triggers the task when a specific user session state changes. Version 1.2 only.
Custom12Triggers the custom trigger. Version 1.3 only.

See Also