Click or drag to resize
Task Scheduler Managed Class Library

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.12.0
Syntax
C#
public enum TaskActionType
Request Example
Members
Member nameValueDescription
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.
Remarks
The action type is defined when the action is created and cannot be changed later. See AddNew(TaskActionType).
See Also