共用方式為


ErrorListProvider Class

Definition

This task provider is used to provide tasks for the Visual Studio Error List window.

public ref class ErrorListProvider : Microsoft::VisualStudio::Shell::TaskProvider
[Windows::Foundation::Metadata::WebHostHidden]
class ErrorListProvider : Microsoft::VisualStudio::Shell::TaskProvider
public class ErrorListProvider : Microsoft.VisualStudio.Shell.TaskProvider
type ErrorListProvider = class
    inherit TaskProvider
Public Class ErrorListProvider
Inherits TaskProvider
Inheritance
ErrorListProvider
Derived

Constructors

ErrorListProvider(IServiceProvider)

Creates an ErrorListProvider object.

Properties

AlwaysVisible

Determines whether or not the provider is always visible in the dropdown menu even though it has no tasks.

(Inherited from TaskProvider)
DisableAutoRoute

Gets or sets whether autorouting should be disabled.

(Inherited from TaskProvider)
ImageList

Gets or sets the provider's image list (a list of icons for the tasks that belong to the provider).

(Inherited from TaskProvider)
MaintainInitialTaskOrder

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

(Inherited from TaskProvider)
ProviderGuid

Gets or sets the GUID of this provider.

(Inherited from TaskProvider)
ProviderName

Gets or sets a localized name for this provider.

(Inherited from TaskProvider)
Subcategories

Gets a collection of task subcategories.

(Inherited from TaskProvider)
Tasks

Gets a collection of tasks.

(Inherited from TaskProvider)
ToolbarGroup

Gets or sets a group GUID and toolbar ID indicating which toolbar should be displayed when this provider is active.

(Inherited from TaskProvider)
ToolbarId

Gets or sets this provider's toolbar ID.

(Inherited from TaskProvider)
VsTaskList

Returns the service that allows VSPackage implementers to store and manage their tasks as a part of the environment's task list.

Methods

BringToFront()

Activates the Error List window and makes it visible.

Dispose()

Disposes this provider.

(Inherited from TaskProvider)
Dispose(Boolean)

Activates the Error List window and makes it visible.

Finalize()

Destructor for ErrorListProvider.

ForceShowErrors()

Shows the errors in the Error List window.

GetService(Type)

Gets the service of the specified type.

(Inherited from TaskProvider)
Navigate(Task, Guid)

Navigates from the task to the correct position in the document, shown in the specified logical view.

(Inherited from TaskProvider)
Navigate(TaskListItem, Guid) (Inherited from TaskProvider)
Refresh()

Informs the task list that there are new or edited tasks.

(Inherited from TaskProvider)
ResumeRefresh()

Restarts the refreshing of the task list after it has been suspended.

(Inherited from TaskProvider)
Show()

Creates a Error List tool window and shows the errors in it.

SuspendRefresh()

Stops refreshing the task list until ResumeRefresh() is called.

(Inherited from TaskProvider)

Explicit Interface Implementations

IVsTaskProvider.EnumTaskItems(IVsEnumTaskItems)

Gets an enumerator over the task items.

(Inherited from TaskProvider)
IVsTaskProvider.ImageList(IntPtr)

Gets this provider's image list.

(Inherited from TaskProvider)
IVsTaskProvider.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.

(Inherited from TaskProvider)
IVsTaskProvider.ReRegistrationKey(String)

Gets the re-registration key.

(Inherited from TaskProvider)
IVsTaskProvider.SubcategoryList(UInt32, String[], UInt32)

Gets a list of subcategories for the tasks of this task provider.

(Inherited from TaskProvider)
IVsTaskProvider2.EnumTaskItems(IVsEnumTaskItems)

Gets an enumerator over task items.

(Inherited from TaskProvider)
IVsTaskProvider2.ImageList(IntPtr)

Gets this provider's image list.

(Inherited from TaskProvider)
IVsTaskProvider2.MaintainInitialTaskOrder(Int32)

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

(Inherited from TaskProvider)
IVsTaskProvider2.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.

(Inherited from TaskProvider)
IVsTaskProvider2.ReRegistrationKey(String)

Gets the reregistration key.

(Inherited from TaskProvider)
IVsTaskProvider2.SubcategoryList(UInt32, String[], UInt32)

Gets a list of subcategories for the tasks of this task provider.

(Inherited from TaskProvider)
IVsTaskProvider3.GetColumn(Int32, VSTASKCOLUMN[])

Gets the definition of the column with the specified index.

(Inherited from TaskProvider)
IVsTaskProvider3.GetColumnCount(Int32)

Gets the total number of columns supported by this provider, including columns that are not visible by default.

(Inherited from TaskProvider)
IVsTaskProvider3.GetProviderFlags(UInt32)

Gets the behavior flags for this provider.

(Inherited from TaskProvider)
IVsTaskProvider3.GetProviderGuid(Guid)

Gets a unique GUID for this provider. This is used to persist and restore provider-specific data managed by the task list, such as user customizations of column width and order.

(Inherited from TaskProvider)
IVsTaskProvider3.GetProviderName(String)

Gets the name of the provider.

(Inherited from TaskProvider)
IVsTaskProvider3.GetProviderToolbar(Guid, UInt32)

Gets the provider's toolbar.

(Inherited from TaskProvider)
IVsTaskProvider3.GetSurrogateProviderGuid(Guid)

If this method is implemented, all the provider's tasks will be listed under the surrogate provider in the list as though they belonged to the surrogate provider.

(Inherited from TaskProvider)
IVsTaskProvider3.OnBeginTaskEdit(IVsTaskItem)

Raised when the user begins editing a task in place.

(Inherited from TaskProvider)
IVsTaskProvider3.OnEndTaskEdit(IVsTaskItem, Int32, Int32)

Raised when the user finishes editing a task in-place.

(Inherited from TaskProvider)

Applies to