TaskActionType Enumeration

Defines the type of actions a task can perform.


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


The action type is defined when the action is created and cannot be changed later. See AddNew(TaskActionType).


Execute0 This action performs a command-line operation. For example, the action can run a script, launch an executable, or, if the name of a document is provided, find its associated application and launch the application with the document.
ComHandler5This action fires a handler.
SendEmail6This action sends and e-mail.
ShowMessage7This action shows a message box.

See Also