taskType Complex Type
Defines the child elements and sequencing information for the Task element.
<xs:complexType name="taskType">
<xs:all>
<xs:element name="RegistrationInfo"
type="registrationInfoType"
minOccurs="0"
/>
<xs:element name="Triggers"
type="triggersType"
minOccurs="0"
/>
<xs:element name="Settings"
type="settingsType"
minOccurs="0"
/>
<xs:element name="Data"
type="dataType"
minOccurs="0"
/>
<xs:element name="Principals"
type="principalsType"
minOccurs="0"
/>
<xs:element name="Actions"
type="actionsType"
/>
</xs:all>
<xs:attribute name="version"
type="versionType"
use="optional"
fixed="1.3"
/>
</xs:complexType>
Child elements
Element | Type | Description |
---|---|---|
Actions | actionsType | Specifies the actions performed by the task. |
Data | dataType | Specifies addition data that is associated with the task, but is otherwise unused by the Task Scheduler service. |
Principals | principalsType | Specifies the security contexts that can be used to run the task. |
RegistrationInfo | registrationInfoType | Specifies administrative information about the task, such as the author of the task and the date the task is registered. |
Settings | settingsType | Specifies the settings that the Task Scheduler uses to perform the task. |
Triggers | triggersType | Specifies the triggers that start the task. |
Attributes
Name | Type | Description |
---|---|---|
version | versionType | Specifies the version of the task. |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for