Compartir a través de


IVsTaskList Interface

Manages lists of task items supplied by task providers.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("9D21BCC5-2C63-4A61-B055-2F3DF78EB30A")> _
Public Interface IVsTaskList
[InterfaceTypeAttribute()]
[GuidAttribute("9D21BCC5-2C63-4A61-B055-2F3DF78EB30A")]
public interface IVsTaskList
[InterfaceTypeAttribute()]
[GuidAttribute(L"9D21BCC5-2C63-4A61-B055-2F3DF78EB30A")]
public interface class IVsTaskList
[<InterfaceTypeAttribute()>]
[<GuidAttribute("9D21BCC5-2C63-4A61-B055-2F3DF78EB30A")>]
type IVsTaskList =  interface end
public interface IVsTaskList

The IVsTaskList type exposes the following members.

Methods

  Name Description
Public method AutoFilter Filters the task list so only the specified category is shown.
Public method AutoFilter2 Filters the task list so only the specified view is shown.
Public method DumpOutput Do not use.
Public method EnumTaskItems Enumerates all of the tasks on the task list.
Public method RefreshTasks Informs the task list that a task provider has new or updated tasks.
Public method RegisterCustomCategory Registers a custom category with the task list.
Public method RegisterTaskProvider Registers a task provider with the task list.
Public method SetSilentOutputMode Sets the UI output mode the task list should follow.
Public method UnregisterCustomCategory Unregisters the specified custom category from the task list.
Public method UnregisterTaskProvider Unregisters the specified task provider from the task list.
Public method UpdateProviderInfo Updates the image and subcategory lists associated with the specified 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. 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

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace