CorrelatedTaskEventTriggerType Enumeration

Type of trigger that initiated the task execution.


Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.11.0
public enum TriggerType


Schedule107Scheduled time.
Event108On an event.
Registration109When task is registered.
Idle117When system is idle.
Boot118When system boots.
Logon119When a user logs on.
SessionConnect120When a session connects.
SessionDisconnect121When a session disconnects.
RemoteConnect122When a remote session connects.
RemoteDisconnect123When a remote session disconnects.
WorkstationLock124When computer is locked.
WorkstationUnlock125When computer is unlocked.

See Also