Partilhar via


IVsTaskList Interface

Definition

Manages lists of task items supplied by task providers.

public interface class IVsTaskList
public interface class IVsTaskList
__interface IVsTaskList
[System.Runtime.InteropServices.Guid("9D21BCC5-2C63-4A61-B055-2F3DF78EB30A")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTaskList
[System.Runtime.InteropServices.Guid("9D21BCC5-2C63-4A61-B055-2F3DF78EB30A")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTaskList
[<System.Runtime.InteropServices.Guid("9D21BCC5-2C63-4A61-B055-2F3DF78EB30A")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTaskList = interface
[<System.Runtime.InteropServices.Guid("9D21BCC5-2C63-4A61-B055-2F3DF78EB30A")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTaskList = interface
Public Interface IVsTaskList
Attributes

Remarks

The environment implements the IVsTaskList interface to create a container for tasks. To put tasks into the task list, implement IVsTaskProvider. IVsTaskProvider 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.

Tasks can also be added to the task list through the OutputTaskItemString and FlushToTaskList methods of IVsOutputWindowPane.

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

Notes to Callers

Task providers should call this interface to store and manage their tasks as a part of the environment's task list.Example

Methods

AutoFilter(VSTASKCATEGORY)

Filters the task list so only the specified category is shown.

AutoFilter2(Guid)

Filters the task list so only the specified view is shown.

DumpOutput(UInt32, VSTASKCATEGORY, IStream, Int32)

Do not use.

EnumTaskItems(IVsEnumTaskItems)

Enumerates all of the tasks on the task list.

RefreshTasks(UInt32)

Informs the task list that a task provider has new or updated tasks.

RegisterCustomCategory(Guid, UInt32, VSTASKCATEGORY[])

Registers a custom category with the task list.

RegisterTaskProvider(IVsTaskProvider, UInt32)

Registers a task provider with the task list.

SetSilentOutputMode(Int32)

Sets the UI output mode the task list should follow.

UnregisterCustomCategory(VSTASKCATEGORY)

Unregisters the specified custom category from the task list.

UnregisterTaskProvider(UInt32)

Unregisters the specified task provider from the task list.

UpdateProviderInfo(UInt32)

Updates the image and subcategory lists associated with the specified task provider.

Applies to