This class implements IVsTaskProvider. It provides a framework-friendly way to define a task provider and its associated services.
Inheritance Hierarchy
Object
  Microsoft.VisualStudio.Shell.TaskProvider
    Microsoft.VisualStudio.Shell.ErrorListProvider
Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
<ComVisibleAttribute(True)> _
Public Class TaskProvider _
    Implements IVsTaskProvider, IVsTaskProvider2, IVsTaskProvider3, IDisposable
[ComVisibleAttribute(true)]
public class TaskProvider : IVsTaskProvider, 
    IVsTaskProvider2, IVsTaskProvider3, IDisposable
[ComVisibleAttribute(true)]
public ref class TaskProvider : IVsTaskProvider, 
    IVsTaskProvider2, IVsTaskProvider3, IDisposable
[<ComVisibleAttribute(true)>]
type TaskProvider =  
    class 
        interface IVsTaskProvider 
        interface IVsTaskProvider2 
        interface IVsTaskProvider3 
        interface IDisposable 
    end
public class TaskProvider implements IVsTaskProvider, IVsTaskProvider2, IVsTaskProvider3, IDisposable
The TaskProvider type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | TaskProvider | Initializes a new instance of the TaskProvider with the supplied service provider. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | AlwaysVisible | Determines whether or not the provider is always visible in the dropdown menu even though it has no tasks. | 
| .gif) | DisableAutoRoute | Gets or sets whether autorouting should be disabled. | 
| .gif) | ImageList | Gets or sets the provider's image list (a list of icons for the tasks that belong to the provider). | 
| .gif) | MaintainInitialTaskOrder | Gets or sets whether or not the task list should maintain the task order given to it by the task provider. | 
| .gif) | ProviderGuid | Gets or sets the GUID of this provider. | 
| .gif) | ProviderName | Gets or sets a localized name for this provider. | 
| .gif) | Subcategories | Gets a collection of task subcategories. | 
| .gif) | Tasks | Gets a collection of tasks. | 
| .gif) | ToolbarGroup | Gets or sets a group GUID and toolbar ID indicating which toolbar should be displayed when this provider is active. | 
| .gif) | ToolbarId | Gets or sets this provider's toolbar ID. | 
| .gif) | VsTaskList | Gets the task list. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Dispose() | Disposes this provider. | 
| .gif) | Dispose(Boolean) | Disposes the resources (task collection, task list, and image list) of this provider. | 
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | Finalize | Destroys the provider. (Overrides Object.Finalize.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetService | Gets the service of the specified type. | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | Navigate | Navigates from the task to the correct position in the document, shown in the specified logical view. | 
| .gif) | Refresh | Informs the task list that there are new or edited tasks. | 
| .gif) | ResumeRefresh | Restarts the refreshing of the task list after it has been suspended. | 
| .gif) | Show | Displays the task list window. | 
| .gif) | SuspendRefresh | Stops refreshing the task list until ResumeRefresh is called. | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .gif) .gif) | IVsTaskProvider.EnumTaskItems | Gets an enumerator over the task items. | 
| .gif) .gif) | IVsTaskProvider.ImageList | Gets this provider's image list. | 
| .gif) .gif) | 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. | 
| .gif) .gif) | IVsTaskProvider.ReRegistrationKey | Gets the re-registration key. | 
| .gif) .gif) | IVsTaskProvider.SubcategoryList | Gets a list of subcategories for the tasks of this task provider. | 
| .gif) .gif) | IVsTaskProvider2.EnumTaskItems | Gets an enumerator over task items. | 
| .gif) .gif) | IVsTaskProvider2.ImageList | Gets this provider's image list. | 
| .gif) .gif) | IVsTaskProvider2.MaintainInitialTaskOrder | Gets or sets whether or not the task list should maintain the task order given to it by the task provider. | 
| .gif) .gif) | 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. | 
| .gif) .gif) | IVsTaskProvider2.ReRegistrationKey | Gets the reregistration key. | 
| .gif) .gif) | IVsTaskProvider2.SubcategoryList | Gets a list of subcategories for the tasks of this task provider. | 
| .gif) .gif) | IVsTaskProvider3.GetColumn | Gets the definition of the column with the specified index. | 
| .gif) .gif) | IVsTaskProvider3.GetColumnCount | Gets the total number of columns supported by this provider, including columns that are not visible by default. | 
| .gif) .gif) | IVsTaskProvider3.GetProviderFlags | Gets the behavior flags for this provider. | 
| .gif) .gif) | 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. | 
| .gif) .gif) | IVsTaskProvider3.GetProviderName | Gets the name of the provider. | 
| .gif) .gif) | IVsTaskProvider3.GetProviderToolbar | Gets the provider's toolbar. | 
| .gif) .gif) | 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. | 
| .gif) .gif) | IVsTaskProvider3.OnBeginTaskEdit | Raised when the user begins editing a task in place. | 
| .gif) .gif) | IVsTaskProvider3.OnEndTaskEdit | Raised when the user finishes editing a task in-place. | 
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.