ComHandler (actionGroup) Element

Specifies an action that fires a handler.

<xs:element name="ComHandler"

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.


Applications define a COM handler action using the IComHandlerAction interface.


The following attribute is defined by the actionBaseType complex type.

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


The following XML defines a COM handler action.



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