TaskProvider Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This class implements IVsTaskProvider. It provides a framework-friendly way to define a task provider and its associated services.
public ref class TaskProvider : IDisposable, Microsoft::VisualStudio::Shell::Interop::IVsTaskProvider2, Microsoft::VisualStudio::Shell::Interop::IVsTaskProvider3
[System.Runtime.InteropServices.ComVisible(true)]
public class TaskProvider : IDisposable, Microsoft.VisualStudio.Shell.Interop.IVsTaskProvider2, Microsoft.VisualStudio.Shell.Interop.IVsTaskProvider3
[<System.Runtime.InteropServices.ComVisible(true)>]
type TaskProvider = class
interface IVsTaskProvider
interface IVsTaskProvider2
interface IVsTaskProvider3
interface IDisposable
Public Class TaskProvider
Implements IDisposable, IVsTaskProvider2, IVsTaskProvider3
- Inheritance
-
TaskProvider
- Derived
- Attributes
- Implements
Task |
Initializes a new instance of the TaskProvider with the supplied service provider. |
Always |
Determines whether or not the provider is always visible in the dropdown menu even though it has no tasks. |
Disable |
Gets or sets whether autorouting should be disabled. |
Image |
Gets or sets the provider's image list (a list of icons for the tasks that belong to the provider). |
Maintain |
Gets or sets whether or not the task list should maintain the task order given to it by the task provider. |
Provider |
Gets or sets the GUID of this provider. |
Provider |
Gets or sets a localized name for this provider. |
Subcategories |
Gets a collection of task subcategories. |
Tasks |
Gets a collection of tasks. |
Toolbar |
Gets or sets a group GUID and toolbar ID indicating which toolbar should be displayed when this provider is active. |
Toolbar |
Gets or sets this provider's toolbar ID. |
Vs |
Gets the task list. |
Dispose() |
Disposes this provider. |
Dispose(Boolean) |
Disposes the resources (task collection, task list, and image list) of this provider. |
Finalize() |
Destroys the provider. |
Get |
Gets the service of the specified type. |
Navigate(Task, Guid) |
Navigates from the task to the correct position in the document, shown in the specified logical view. |
Navigate(Task |
|
Refresh() |
Informs the task list that there are new or edited tasks. |
Resume |
Restarts the refreshing of the task list after it has been suspended. |
Show() |
Displays the task list window. |
Suspend |
Stops refreshing the task list until ResumeRefresh() is called. |
IVs |
Gets an enumerator over the task items. |
IVs |
Gets this provider's image list. |
IVs |
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. |
IVs |
Gets the re-registration key. |
IVs |
Gets a list of subcategories for the tasks of this task provider. |
IVs |
Gets an enumerator over task items. |
IVs |
Gets this provider's image list. |
IVs |
Gets or sets whether or not the task list should maintain the task order given to it by the task provider. |
IVs |
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. |
IVs |
Gets the reregistration key. |
IVs |
Gets a list of subcategories for the tasks of this task provider. |
IVs |
Gets the definition of the column with the specified index. |
IVs |
Gets the total number of columns supported by this provider, including columns that are not visible by default. |
IVs |
Gets the behavior flags for this provider. |
IVs |
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. |
IVs |
Gets the name of the provider. |
IVs |
Gets the provider's toolbar. |
IVs |
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. |
IVs |
Raised when the user begins editing a task in place. |
IVs |
Raised when the user finishes editing a task in-place. |