Data (taskType) Element

Defines addition data that is associated with the task, but is otherwise unused by the Task Scheduler service.

<xs:element name="Data"
    type="dataType"
 />

The Data element is defined by the taskType complex type.

Parent element

ElementDerived fromDescription
Task taskType

Defines the task that is performed by the Task Scheduler service.

Remarks

As an example of this type of data, the Performance Logs and Alerts service uses this property as a storage container for the perf counter query associated with a task.

For C++ development, the data of a task is specified using the Data property of ITaskDefinition.

In scripting development, the data of a task is specified using the TaskDefinition.Data property.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

See also

Task Scheduler Schema Elements
Task Scheduler

 

 

Show: