ITaskHandler interface
Defines the methods that are called by the Task Scheduler service to manage a COM handler.
When to implement
This interface must be implemented for a task to perform a COM handler action. When the Task Scheduler performs a COM handler action, it creates and activates the handler and calls the methods of this interface as needed. For information on specifying a COM handler action, see the IComHandlerAction interface.
Members
The ITaskHandler interface inherits from the IUnknown interface. ITaskHandler also has these types of members:
Methods
The ITaskHandler interface has these methods.
| Method | Description |
|---|---|
| Pause |
Called to pause the COM handler. |
| Resume |
Called to restart the COM handler. |
| Start |
Required. Called to start the COM handler. |
| Stop |
Required. Called to stop the COM handler. |
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also