IVsTaskProvider2 Interface

Supplies tasks to the task list.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("A7E6B1F9-DFF1-4354-870F-196BE871F329")> _
Public Interface IVsTaskProvider2 _
    Inherits IVsTaskProvider
[InterfaceTypeAttribute()]
[GuidAttribute("A7E6B1F9-DFF1-4354-870F-196BE871F329")]
public interface IVsTaskProvider2 : IVsTaskProvider
[InterfaceTypeAttribute()]
[GuidAttribute(L"A7E6B1F9-DFF1-4354-870F-196BE871F329")]
public interface class IVsTaskProvider2 : IVsTaskProvider
[<InterfaceTypeAttribute()>]
[<GuidAttribute("A7E6B1F9-DFF1-4354-870F-196BE871F329")>]
type IVsTaskProvider2 =  
    interface 
        interface IVsTaskProvider 
    end
public interface IVsTaskProvider2 extends IVsTaskProvider

The IVsTaskProvider2 type exposes the following members.

Methods

  Name Description
Public method EnumTaskItems Enumerates the tasks supplied by the task provider.
Public method ImageList Returns the image list for the tasks of this task provider.
Public method MaintainInitialTaskOrder Determines whether or not the task list should maintain the task order given to it by the task provider.
Public method OnTaskListFinalRelease Notifies 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 method ReRegistrationKey Do not use.
Public method SubcategoryList Returns the list of subcategories for the tasks of this task provider.

Top

Remarks

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace