Export (0) Print
Expand All

IShellTaskScheduler interface

[IShellTaskScheduler is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Exposes methods that enable interaction with, and control of, a task scheduler.

Members

The IShellTaskScheduler interface inherits from the IUnknown interface. IShellTaskScheduler also has these types of members:

Methods

The IShellTaskScheduler interface has these methods.

MethodDescription
AddTask

Adds a task to the scheduler's background queue.

CountTasks

Counts tasks with the same owner ID in the scheduler's queue.

RemoveTasks

Removes tasks from the scheduler's background queue.

Status

Sets the release status and background thread timeout for the current task.

 

Remarks

This interface does not need to be free-threaded unless the items in the queue interact with the scheduler as well as the main execution thread on which the task scheduler was created.

This interface's class identifier (CLSID) is CLSID_ShellTaskScheduler, and its IID is IID_IShellTaskScheduler.

Windows Server 2003 and Windows XP:  IShellTaskScheduler was declared in Shlobj.h.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

End of client support

Windows XP

End of server support

Windows Server 2003

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll (version 5.0 or later)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft