IComHandlerAction interface

Represents an action that fires a handler.

Methods

The IComHandlerAction interface has these methods.

Method Description
IComHandlerAction::get_ClassId Gets or sets the identifier of the handler class.
IComHandlerAction::get_Data Gets or sets additional data that is associated with the handler.
IComHandlerAction::put_ClassId Gets or sets the identifier of the handler class.
IComHandlerAction::put_Data Gets or sets additional data that is associated with the handler.

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

   
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