Редагувати

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


ValueQueries (eventTriggerType) Element

Contains a sequence of elements that each contain a name and an XPath query value. The queries are applied to an event returned from the event subscription specified in the Subscription element. The name for the XPath query value can be used as a variable in the action section of a task.

<xs:element name="ValueQueries"
    type="namedValues"
    minOccurs="0"
 />

The ValueQueries element is defined by the eventTriggerType complex type.

Parent element

Element Derived from Description
EventTrigger (triggerGroup) eventTriggerType Specifies a trigger that starts a task when a system event occurs.

Remarks

For C++ development, see ValueQueries Property of IEventTrigger.

For script development, see EventTrigger.ValueQueries.

Examples

For a complete example of the XML for a task that specifies a an event trigger using this element, see Event Trigger Example (XML).

Requirements

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