Actions (taskType) Element
Contains the actions performed by the task.
<xs:element name="Actions" type="actionsType" />
The Actions element is defined by the taskType complex type.
Describes the task that is performed by the Task Scheduler service.
Specifies an action that fires a handler.
Specifies an action that executes a command-line operation.
Specifies an action that sends an email message.
Specifies an action that shows a message box.
Principal identifier of the user who is the security context for the actions of the task.
The child elements listed previously (maximum 32) are defined by the actionGroup group. These elements can be added in any order.
For C++ development, the actions of a task are defined in the IActionCollection interface.
For script development, the actions of a task are defined in the ActionCollection object.
For more information and a complete example of the XML for a task that contains a single execution action, see Time Trigger Example (XML).
Minimum supported client
|Windows Vista [desktop apps only]|
Minimum supported server
|Windows Server 2008 [desktop apps only]|
Build date: 10/30/2012