ErrorTask ErrorTask ErrorTask ErrorTask ErrorTask Class

Definition

Represents an error task on the Task List. This class implements IVsErrorItem.

public ref class ErrorTask : Microsoft::VisualStudio::Shell::Task, Microsoft::VisualStudio::Shell::Interop::IVsErrorItem
[Windows::Foundation::Metadata::WebHostHidden]
class ErrorTask : Microsoft::VisualStudio::Shell::Task, Microsoft::VisualStudio::Shell::Interop::IVsErrorItem
[System.Runtime.InteropServices.ComVisible(true)]
public class ErrorTask : Microsoft.VisualStudio.Shell.Task, Microsoft.VisualStudio.Shell.Interop.IVsErrorItem
type ErrorTask = class
    inherit Task
    interface IVsErrorItem
Public Class ErrorTask
Inherits Task
Implements IVsErrorItem
Inheritance
ErrorTaskErrorTaskErrorTaskErrorTaskErrorTask
Derived
Attributes
Implements

Constructors

ErrorTask() ErrorTask() ErrorTask() ErrorTask() ErrorTask()

Initializes a new instance of an ErrorTask.

ErrorTask(Exception) ErrorTask(Exception) ErrorTask(Exception) ErrorTask(Exception) ErrorTask(Exception)

Initializes a new instance of an ErrorTask for the specified error.

Properties

CanDelete CanDelete CanDelete CanDelete CanDelete

Gets or sets whether or not the task can be deleted.

(Inherited from Task)
Category Category Category Category Category

Gets or sets the task's category.

(Inherited from Task)
Checked Checked Checked Checked Checked

Gets or sets whether not the task's check box is currently selected or cleared.

(Inherited from Task)
Column Column Column Column Column

Gets or sets the column number within the file associated with the task.

(Inherited from Task)
Document Document Document Document Document

Gets or sets the file associated with the task.

(Inherited from Task)
ErrorCategory ErrorCategory ErrorCategory ErrorCategory ErrorCategory

Gets or sets the error category of this task.

HelpKeyword HelpKeyword HelpKeyword HelpKeyword HelpKeyword

Gets or sets the Help keyword associated with the task.

(Inherited from Task)
HierarchyItem HierarchyItem HierarchyItem HierarchyItem HierarchyItem

Gets or sets the hierarchy item associated with this task.

ImageIndex ImageIndex ImageIndex ImageIndex ImageIndex

Gets or sets the index of the image associated with the task.

(Inherited from Task)
IsCheckedEditable IsCheckedEditable IsCheckedEditable IsCheckedEditable IsCheckedEditable

Gets or sets whether or not it is possible to edit the checked state of the task.

(Inherited from Task)
IsPriorityEditable IsPriorityEditable IsPriorityEditable IsPriorityEditable IsPriorityEditable

Gets or sets whether or not it is possible to edit the priority of a task.

(Inherited from Task)
IsTextEditable IsTextEditable IsTextEditable IsTextEditable IsTextEditable

Gets or sets whether or not it is possible to edit the description of a task.

(Inherited from Task)
Line Line Line Line Line

Gets or sets the line number of the file associated with the task.

(Inherited from Task)
Priority Priority Priority Priority Priority

Gets or sets the priority of a task.

(Inherited from Task)
SubcategoryIndex SubcategoryIndex SubcategoryIndex SubcategoryIndex SubcategoryIndex

Gets or sets the index of the subcategory of the task.

(Inherited from Task)
Text Text Text Text Text

Gets or sets the description of a task.

(Inherited from Task)

Explicit Interface Implementations

IVsErrorItem.GetCategory(UInt32) IVsErrorItem.GetCategory(UInt32) IVsErrorItem.GetCategory(UInt32) IVsErrorItem.GetCategory(UInt32) IVsErrorItem.GetCategory(UInt32)

Gets the category of the error.

IVsErrorItem.GetHierarchy(IVsHierarchy) IVsErrorItem.GetHierarchy(IVsHierarchy) IVsErrorItem.GetHierarchy(IVsHierarchy) IVsErrorItem.GetHierarchy(IVsHierarchy) IVsErrorItem.GetHierarchy(IVsHierarchy)

Gets the hierarchy node associated with the task.

IVsTaskItem.CanDelete(Int32) IVsTaskItem.CanDelete(Int32) IVsTaskItem.CanDelete(Int32) IVsTaskItem.CanDelete(Int32) IVsTaskItem.CanDelete(Int32)

Gets whether or not it is possible to delete the task.

(Inherited from Task)
IVsTaskItem.Category(VSTASKCATEGORY[]) IVsTaskItem.Category(VSTASKCATEGORY[]) IVsTaskItem.Category(VSTASKCATEGORY[]) IVsTaskItem.Category(VSTASKCATEGORY[]) IVsTaskItem.Category(VSTASKCATEGORY[])

Sets the task category.

(Inherited from Task)
IVsTaskItem.Column(Int32) IVsTaskItem.Column(Int32) IVsTaskItem.Column(Int32) IVsTaskItem.Column(Int32) IVsTaskItem.Column(Int32)

Gets the column number of the file associated with the task.

(Inherited from Task)
IVsTaskItem.Document(String) IVsTaskItem.Document(String) IVsTaskItem.Document(String) IVsTaskItem.Document(String) IVsTaskItem.Document(String)

Gets the name of the file associated with the task.

(Inherited from Task)
IVsTaskItem.get_Checked(Int32) IVsTaskItem.get_Checked(Int32) IVsTaskItem.get_Checked(Int32) IVsTaskItem.get_Checked(Int32) IVsTaskItem.get_Checked(Int32)

Determines whether the task item's check box is currently selected or cleared.

(Inherited from Task)
IVsTaskItem.get_Priority(VSTASKPRIORITY[]) IVsTaskItem.get_Priority(VSTASKPRIORITY[]) IVsTaskItem.get_Priority(VSTASKPRIORITY[]) IVsTaskItem.get_Priority(VSTASKPRIORITY[]) IVsTaskItem.get_Priority(VSTASKPRIORITY[])

Gets the priority of the task.

(Inherited from Task)
IVsTaskItem.get_Text(String) IVsTaskItem.get_Text(String) IVsTaskItem.get_Text(String) IVsTaskItem.get_Text(String) IVsTaskItem.get_Text(String)

Gets the description of the task.

(Inherited from Task)
IVsTaskItem.HasHelp(Int32) IVsTaskItem.HasHelp(Int32) IVsTaskItem.HasHelp(Int32) IVsTaskItem.HasHelp(Int32) IVsTaskItem.HasHelp(Int32)

Determines whether or not the task has associated help.

(Inherited from Task)
IVsTaskItem.ImageListIndex(Int32) IVsTaskItem.ImageListIndex(Int32) IVsTaskItem.ImageListIndex(Int32) IVsTaskItem.ImageListIndex(Int32) IVsTaskItem.ImageListIndex(Int32)

Gets the index of the image associated with the task.

(Inherited from Task)
IVsTaskItem.IsReadOnly(VSTASKFIELD, Int32) IVsTaskItem.IsReadOnly(VSTASKFIELD, Int32) IVsTaskItem.IsReadOnly(VSTASKFIELD, Int32) IVsTaskItem.IsReadOnly(VSTASKFIELD, Int32) IVsTaskItem.IsReadOnly(VSTASKFIELD, Int32)

Determines whether or not the specified task field is read-only.

(Inherited from Task)
IVsTaskItem.Line(Int32) IVsTaskItem.Line(Int32) IVsTaskItem.Line(Int32) IVsTaskItem.Line(Int32) IVsTaskItem.Line(Int32)

Gets the line number of the file associated with the task.

(Inherited from Task)
IVsTaskItem.NavigateTo() IVsTaskItem.NavigateTo() IVsTaskItem.NavigateTo() IVsTaskItem.NavigateTo() IVsTaskItem.NavigateTo()

Opens a file associated with a task and moves to the appropriate position in the file.

(Inherited from Task)
IVsTaskItem.NavigateToHelp() IVsTaskItem.NavigateToHelp() IVsTaskItem.NavigateToHelp() IVsTaskItem.NavigateToHelp() IVsTaskItem.NavigateToHelp()

Opens the Help resource associated with a task.

(Inherited from Task)
IVsTaskItem.OnDeleteTask() IVsTaskItem.OnDeleteTask() IVsTaskItem.OnDeleteTask() IVsTaskItem.OnDeleteTask() IVsTaskItem.OnDeleteTask()

Raised when a task has been deleted.

(Inherited from Task)
IVsTaskItem.OnFilterTask(Int32) IVsTaskItem.OnFilterTask(Int32) IVsTaskItem.OnFilterTask(Int32) IVsTaskItem.OnFilterTask(Int32) IVsTaskItem.OnFilterTask(Int32)

Raised when a task has been filtered into or out of a view.

(Inherited from Task)
IVsTaskItem.put_Checked(Int32) IVsTaskItem.put_Checked(Int32) IVsTaskItem.put_Checked(Int32) IVsTaskItem.put_Checked(Int32) IVsTaskItem.put_Checked(Int32)

Sets whether a task item's check box is selected or cleared.

(Inherited from Task)
IVsTaskItem.put_Priority(VSTASKPRIORITY) IVsTaskItem.put_Priority(VSTASKPRIORITY) IVsTaskItem.put_Priority(VSTASKPRIORITY) IVsTaskItem.put_Priority(VSTASKPRIORITY) IVsTaskItem.put_Priority(VSTASKPRIORITY)

Sets the priority level of a task item.

(Inherited from Task)
IVsTaskItem.put_Text(String) IVsTaskItem.put_Text(String) IVsTaskItem.put_Text(String) IVsTaskItem.put_Text(String) IVsTaskItem.put_Text(String)

Sets the description of the task.

(Inherited from Task)
IVsTaskItem.SubcategoryIndex(Int32) IVsTaskItem.SubcategoryIndex(Int32) IVsTaskItem.SubcategoryIndex(Int32) IVsTaskItem.SubcategoryIndex(Int32) IVsTaskItem.SubcategoryIndex(Int32)

Gets the index of the task in the subcategory list.

(Inherited from Task)

Fields

contextNameKeyword contextNameKeyword contextNameKeyword contextNameKeyword contextNameKeyword

Represents the keyword for the user context. This field is constant.

(Inherited from Task)

Events

Deleted Deleted Deleted Deleted Deleted

Handles OnDeleted(EventArgs) events.

(Inherited from Task)
Help Help Help Help Help

Handles OnHelp(EventArgs) events.

(Inherited from Task)
Navigate Navigate Navigate Navigate Navigate

Handles OnNavigate(EventArgs) events.

(Inherited from Task)
Removed Removed Removed Removed Removed

Handles OnRemoved(EventArgs) events.

(Inherited from Task)

Methods

GetUserContext(IVsUserContext) GetUserContext(IVsUserContext) GetUserContext(IVsUserContext) GetUserContext(IVsUserContext) GetUserContext(IVsUserContext)

Creates a new user context.

(Inherited from Task)
OnDeleted(EventArgs) OnDeleted(EventArgs) OnDeleted(EventArgs) OnDeleted(EventArgs) OnDeleted(EventArgs)

Raised when the task has been deleted.

(Inherited from Task)
OnHelp(EventArgs) OnHelp(EventArgs) OnHelp(EventArgs) OnHelp(EventArgs) OnHelp(EventArgs)

Raised when the user requests Help; for example by right-clicking and selecting Show Error Help.

(Inherited from Task)
OnNavigate(EventArgs) OnNavigate(EventArgs) OnNavigate(EventArgs) OnNavigate(EventArgs) OnNavigate(EventArgs)

Raised when the user attempts to navigate to the task's location in the file, for example by double-clicking on the task.

(Inherited from Task)
OnRemoved(EventArgs) OnRemoved(EventArgs) OnRemoved(EventArgs) OnRemoved(EventArgs) OnRemoved(EventArgs)

Raised when a task has been removed from the task list.

(Inherited from Task)

Extension Methods

FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)
IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

Applies to