IComHandlerAction interface (taskschd.h)

Represents an action that fires a handler.

Inheritance

The IComHandlerAction interface inherits from the IAction interface.

Methods

The IComHandlerAction interface has these methods.

 
IComHandlerAction::get_ClassId

Gets or sets the identifier of the handler class. (Get)
IComHandlerAction::get_Data

Gets or sets additional data that is associated with the handler. (Get)
IComHandlerAction::put_ClassId

Gets or sets the identifier of the handler class. (Put)
IComHandlerAction::put_Data

Gets or sets additional data that is associated with the handler. (Put)

Remarks

COM handlers must implement the ITaskHandler interface for the Task Scheduler to start and stop the handler. In turn, the COM handler uses the methods of the ITaskHandlerStatus interface to communicate the status back to the Task Scheduler.

When reading or writing XML, a COM handler action is specified in the ComHandler element of the Task Scheduler schema.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header taskschd.h

See also

IAction

ITaskHandlerStatus

Task Scheduler

Task Scheduler Interfaces