Редагувати

Поділитися через


actionGroup Group

Defines the group of actions that a task can perform.

<xs:group name="actionGroup">
    <xs:choice>
        <xs:element name="Exec"
            type="execType"
         />
        <xs:element name="ComHandler"
            type="comHandlerType"
         />
        <xs:element name="SendEmail"
            type="sendEmailType"
         />
        <xs:element name="ShowMessage"
            type="showMessageType"
         />
    </xs:choice>
</xs:group>

Child elements

Element Type Description
ComHandler comHandlerType Represents an action that fires a handler.
Exec execType Represents an action that executes a command-line operation.
SendEmail sendEmailType Represents an action that sends an email message.
ShowMessage showMessageType Represents an action that shows a message box.

Remarks

When reading or writing XML, the elements that are defined by this group are the child elements of the Actions element.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]

See also

Task Scheduler