Muokkaa

Jaa


ComHandlerAction object

Scripting object that represents an action that fires a handler.

Members

The ComHandlerAction object has these types of members:

Properties

The ComHandlerAction object has these properties.

Property Access type Description
ClassId
Read/write
Gets or sets the identifier of the handler class.
Data
Read/write
Gets or sets additional data that is associated with the handler.
Id
Read/write
Inherited from the Action object. Gets or sets the identifier of the action.
Type
Read-only
Inherited from the Action object. Gets the type of the action.

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 TaskHandlerStatus object 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]
Type library
Taskschd.tlb
DLL
Taskschd.dll

See also

TaskHandlerStatus

Task Scheduler Objects

Task Scheduler