IVsTaskProvider2 Interface

Definition

Supplies tasks to the task list.

public interface class IVsTaskProvider2 : Microsoft::VisualStudio::Shell::Interop::IVsTaskProvider
public interface class IVsTaskProvider2 : Microsoft::VisualStudio::Shell::Interop::IVsTaskProvider
__interface IVsTaskProvider2 : Microsoft::VisualStudio::Shell::Interop::IVsTaskProvider
[System.Runtime.InteropServices.Guid("A7E6B1F9-DFF1-4354-870F-196BE871F329")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTaskProvider2 : Microsoft.VisualStudio.Shell.Interop.IVsTaskProvider
[System.Runtime.InteropServices.Guid("A7E6B1F9-DFF1-4354-870F-196BE871F329")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTaskProvider2 : Microsoft.VisualStudio.Shell.Interop.IVsTaskProvider
[<System.Runtime.InteropServices.Guid("A7E6B1F9-DFF1-4354-870F-196BE871F329")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTaskProvider2 = interface
    interface IVsTaskProvider
[<System.Runtime.InteropServices.Guid("A7E6B1F9-DFF1-4354-870F-196BE871F329")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTaskProvider2 = interface
    interface IVsTaskProvider
Public Interface IVsTaskProvider2
Implements IVsTaskProvider
Derived
Attributes
Implements

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.

Methods

EnumTaskItems(IVsEnumTaskItems)

Enumerates the tasks supplied by the task provider.

ImageList(IntPtr)

Returns the image list for the tasks of this task provider.

MaintainInitialTaskOrder(Int32)

Determines whether or not the task list should maintain the task order given to it by the task provider.

OnTaskListFinalRelease(IVsTaskList)

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.

ReRegistrationKey(String)

Do not use.

SubcategoryList(UInt32, String[], UInt32)

Returns the list of subcategories for the tasks of this task provider.

Applies to