 | 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.10.1
Syntaxpublic enum TaskActionType
Public Enumeration TaskActionType
public enum class TaskActionType
Members
| Member name | Value | Description |
---|
| Execute | 0 |
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.
|
| ComHandler | 5 | This action fires a handler. |
| SendEmail | 6 | This action sends and e-mail. |
| ShowMessage | 7 | This action shows a message box. |
RemarksThe action type is defined when the action is created and cannot be changed later. See
AddNew(TaskActionType).
See Also