The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IVsTaskProvider Interface

Supplies tasks to the task list.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

public interface IVsTaskProvider

The IVsTaskProvider type exposes the following members.

Public methodEnumTaskItemsStandard enumerator over tasks supplied by this provider.
Public methodImageListReturns the image list for the tasks of this task provider.
Public methodOnTaskListFinalReleaseNotifies the client to unregister the task provider from the task list if it has not been unregistered by the time the task list is closing.
Public methodReRegistrationKeyDo not use.
Public methodSubcategoryListReturns the list of subcategories for the tasks of this task provider.

The environment implements the IVsTaskList interface to create a container for tasks. To put tasks into the task list, implement IVsTaskProvider, that enumerates a list of task items, each of which is an IVsTaskItem. The IVsTaskItem interface contains methods for modifying the behavior of tasks. The IVsTaskItem2 interface provides methods for managing custom columns.

See illustrations of the implementation of this interface in the Figures Language Service sample.

Notes to Implementers

Implement this interface to provide tasks to the task list.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft