Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

IVsTaskProvider2 Interface

Supplies tasks to the task list.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

[GuidAttribute("A7E6B1F9-DFF1-4354-870F-196BE871F329")] 
[InterfaceTypeAttribute(1)] 
public interface IVsTaskProvider2 : IVsTaskProvider
/** @attribute GuidAttribute("A7E6B1F9-DFF1-4354-870F-196BE871F329") */ 
/** @attribute InterfaceTypeAttribute(1) */ 
public interface IVsTaskProvider2 extends IVsTaskProvider
GuidAttribute("A7E6B1F9-DFF1-4354-870F-196BE871F329") 
InterfaceTypeAttribute(1) 
public interface IVsTaskProvider2 extends IVsTaskProvider

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 sample.

Notes to Implementers Implement this interface to provide tasks to the task list.

Community Additions

ADD
Show:
© 2015 Microsoft