Expand Minimize

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

ElementDerived fromDescription
Actions actionsType

Contains the actions performed by the task.

Child elements

ElementTypeDescription
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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

See also

Task Scheduler Schema Elements

 

 

Community Additions

ADD
Show:
© 2015 Microsoft