Share via


ErrorListProvider Class

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

This API is not CLS-compliant. 

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Shell.TaskProvider
    Microsoft.VisualStudio.Shell.ErrorListProvider

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Class ErrorListProvider _
    Inherits TaskProvider
[CLSCompliantAttribute(false)]
public class ErrorListProvider : TaskProvider
[CLSCompliantAttribute(false)]
public ref class ErrorListProvider : public TaskProvider
[<CLSCompliantAttribute(false)>]
type ErrorListProvider =  
    class
        inherit TaskProvider
    end
public class ErrorListProvider extends TaskProvider

The ErrorListProvider type exposes the following members.

Constructors

  Name Description
Public method ErrorListProvider Creates an ErrorListProvider object.

Top

Properties

  Name Description
Public property AlwaysVisible Determines whether or not the provider is always visible in the dropdown menu even though it has no tasks. (Inherited from TaskProvider.)
Public property DisableAutoRoute Gets or sets whether autorouting should be disabled. (Inherited from TaskProvider.)
Public property ImageList Gets or sets the provider's image list (a list of icons for the tasks that belong to the provider). (Inherited from TaskProvider.)
Public property 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.)
Public property ProviderGuid Gets or sets the GUID of this provider. (Inherited from TaskProvider.)
Public property ProviderName Gets or sets a localized name for this provider. (Inherited from TaskProvider.)
Public property Subcategories Gets a collection of task subcategories. (Inherited from TaskProvider.)
Public property Tasks Gets a collection of tasks. (Inherited from TaskProvider.)
Public property ToolbarGroup Gets or sets a group GUID and toolbar ID indicating which toolbar should be displayed when this provider is active. (Inherited from TaskProvider.)
Public property ToolbarId Gets or sets this provider's toolbar ID. (Inherited from TaskProvider.)
Protected property VsTaskList Returns the service that allows VSPackage implementers to store and manage their tasks as a part of the environment's task list. (Overrides TaskProvider.VsTaskList.)

Top

Methods

  Name Description
Public method BringToFront Activates the Error List window and makes it visible.
Public method Dispose() Disposes this provider. (Inherited from TaskProvider.)
Protected method Dispose(Boolean) Activates the Error List window and makes it visible. (Overrides TaskProvider.Dispose(Boolean).)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Destructor for ErrorListProvider. (Overrides TaskProvider.Finalize().)
Public method ForceShowErrors Shows the errors in the Error List window.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetService Gets the service of the specified type. (Inherited from TaskProvider.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Navigate Navigates from the task to the correct position in the document, shown in the specified logical view. (Inherited from TaskProvider.)
Public method Refresh Informs the task list that there are new or edited tasks. (Inherited from TaskProvider.)
Public method ResumeRefresh Restarts the refreshing of the task list after it has been suspended. (Inherited from TaskProvider.)
Public method Show Creates a Error List tool window and shows the errors in it. (Overrides TaskProvider.Show().)
Public method SuspendRefresh Stops refreshing the task list until ResumeRefresh is called. (Inherited from TaskProvider.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IVsTaskProvider.EnumTaskItems Gets an enumerator over the task items. (Inherited from TaskProvider.)
Explicit interface implemetationPrivate method IVsTaskProvider.ImageList Gets this provider's image list. (Inherited from TaskProvider.)
Explicit interface implemetationPrivate method IVsTaskProvider.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. (Inherited from TaskProvider.)
Explicit interface implemetationPrivate method IVsTaskProvider.ReRegistrationKey Gets the re-registration key. (Inherited from TaskProvider.)
Explicit interface implemetationPrivate method IVsTaskProvider.SubcategoryList Gets a list of subcategories for the tasks of this task provider. (Inherited from TaskProvider.)
Explicit interface implemetationPrivate method IVsTaskProvider2.EnumTaskItems Gets an enumerator over task items. (Inherited from TaskProvider.)
Explicit interface implemetationPrivate method IVsTaskProvider2.ImageList Gets this provider's image list. (Inherited from TaskProvider.)
Explicit interface implemetationPrivate method IVsTaskProvider2.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.)
Explicit interface implemetationPrivate method IVsTaskProvider2.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. (Inherited from TaskProvider.)
Explicit interface implemetationPrivate method IVsTaskProvider2.ReRegistrationKey Gets the reregistration key. (Inherited from TaskProvider.)
Explicit interface implemetationPrivate method IVsTaskProvider2.SubcategoryList Gets a list of subcategories for the tasks of this task provider. (Inherited from TaskProvider.)
Explicit interface implemetationPrivate method IVsTaskProvider3.GetColumn Gets the definition of the column with the specified index. (Inherited from TaskProvider.)
Explicit interface implemetationPrivate method IVsTaskProvider3.GetColumnCount Gets the total number of columns supported by this provider, including columns that are not visible by default. (Inherited from TaskProvider.)
Explicit interface implemetationPrivate method IVsTaskProvider3.GetProviderFlags Gets the behavior flags for this provider. (Inherited from TaskProvider.)
Explicit interface implemetationPrivate method IVsTaskProvider3.GetProviderGuid 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.)
Explicit interface implemetationPrivate method IVsTaskProvider3.GetProviderName Gets the name of the provider. (Inherited from TaskProvider.)
Explicit interface implemetationPrivate method IVsTaskProvider3.GetProviderToolbar Gets the provider's toolbar. (Inherited from TaskProvider.)
Explicit interface implemetationPrivate method IVsTaskProvider3.GetSurrogateProviderGuid 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.)
Explicit interface implemetationPrivate method IVsTaskProvider3.OnBeginTaskEdit Raised when the user begins editing a task in place. (Inherited from TaskProvider.)
Explicit interface implemetationPrivate method IVsTaskProvider3.OnEndTaskEdit Raised when the user finishes editing a task in-place. (Inherited from TaskProvider.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Shell Namespace

TaskProvider