Skip to content

Latest commit

 

History

History
102 lines (57 loc) · 2.9 KB

taskschedulerschema-comhandler-actiongroup-element.md

File metadata and controls

102 lines (57 loc) · 2.9 KB
title description ms.assetid keywords topic_type api_name api_type ms.topic ms.date api_location
ComHandler (actionGroup) Element
Specifies an action that fires a handler.
18f16873-3879-4a3b-b8f2-17cc84647e25
ComHandler element Task Scheduler
apiref
ComHandler
Schema
reference
05/31/2018

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