ComHandler (actionGroup) Element

Specifies an action that fires a handler.

<xs:element name="ComHandler"
    type="comHandlerType"
 />

The ComHandler element is defined by the actionGroup .

Parent element

Element Derived from Description
Actions actionsType Contains the actions performed by the task.

Child elements

Element Type Description
ClassId guidType Specifies the identifier of the handler class.
Data dataType Specifies additional data associated with the handler.

Remarks

Applications define a COM handler action using the IComHandlerAction interface.

Attributes

The following attribute is defined by the actionBaseType complex type.

  • ID: Identifier of the action performed by the task.

Examples

The following XML defines a COM handler action.

<Actions>
    <ComHandler>
        <ClassId></ClassId>
        <Data></Data>
    </ComHandler>
</Actions>

Requirements

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

See also

Task Scheduler Schema Elements