다음을 통해 공유


SimpleErrorListItem Class

Definition

Important

This API is not CLS-compliant.

Subclass to allow simple text messages to be added to the error window.

public ref class SimpleErrorListItem : Microsoft::VisualStudio::Modeling::Shell::ModelingErrorListItem
[System.CLSCompliant(false)]
public class SimpleErrorListItem : Microsoft.VisualStudio.Modeling.Shell.ModelingErrorListItem
public class SimpleErrorListItem : Microsoft.VisualStudio.Modeling.Shell.ModelingErrorListItem
[<System.CLSCompliant(false)>]
type SimpleErrorListItem = class
    inherit ModelingErrorListItem
type SimpleErrorListItem = class
    inherit ModelingErrorListItem
Public Class SimpleErrorListItem
Inherits ModelingErrorListItem
Inheritance
Inheritance
Attributes

Constructors

SimpleErrorListItem(String, String, TaskPriority, TaskErrorCategory)

Constructor

Fields

contextNameKeyword

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

(Inherited from Task)
contextNameKeyword (Inherited from TaskListItem)

Properties

CanDelete

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

(Inherited from Task)
CanDelete (Inherited from TaskListItem)
Category

Gets or sets the task's category.

(Inherited from Task)
Category (Inherited from TaskListItem)
Checked

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

(Inherited from Task)
Checked (Inherited from TaskListItem)
Column

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

(Inherited from Task)
Column (Inherited from TaskListItem)
Document

Gets or sets the file associated with the task.

(Inherited from Task)
Document (Inherited from TaskListItem)
ErrorCategory

Gets or sets the error category associated with this task.

(Inherited from ErrorTask)
ErrorListProvider

Container ModelingErrorListProvider.

(Inherited from ModelingErrorListItem)
HelpKeyword

Gets or sets the Help keyword associated with the task.

(Inherited from Task)
HelpKeyword (Inherited from TaskListItem)
HierarchyItem

Gets or sets the hierarchy item associated with this task.

(Inherited from ErrorTask)
ImageIndex

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

(Inherited from Task)
ImageIndex (Inherited from TaskListItem)
IsCheckedEditable

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

(Inherited from Task)
IsCheckedEditable (Inherited from TaskListItem)
IsPriorityEditable

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

(Inherited from Task)
IsPriorityEditable (Inherited from TaskListItem)
IsTextEditable

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

(Inherited from Task)
IsTextEditable (Inherited from TaskListItem)
Line

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

(Inherited from Task)
Line (Inherited from TaskListItem)
Priority

Gets or sets the priority of a task.

(Inherited from Task)
Priority (Inherited from TaskListItem)
SubcategoryIndex

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

(Inherited from Task)
SubcategoryIndex (Inherited from TaskListItem)
Text

Gets or sets the description of a task.

(Inherited from Task)
Text (Inherited from TaskListItem)

Methods

GetUserContext(IVsUserContext)

Creates a new user context.

(Inherited from Task)
GetUserContext(IVsUserContext) (Inherited from TaskListItem)
OnDeleted(EventArgs)

Raised when the task has been deleted.

(Inherited from Task)
OnDeleted(EventArgs) (Inherited from TaskListItem)
OnHelp(EventArgs)

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

(Inherited from Task)
OnHelp(EventArgs) (Inherited from TaskListItem)
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)
OnNavigate(EventArgs) (Inherited from TaskListItem)
OnRemoved(EventArgs)

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

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

Events

Deleted

Handles OnDeleted(EventArgs) events.

(Inherited from Task)
Deleted (Inherited from TaskListItem)
Help

Handles OnHelp(EventArgs) events.

(Inherited from Task)
Help (Inherited from TaskListItem)
Navigate

Handles OnNavigate(EventArgs) events.

(Inherited from Task)
Navigate (Inherited from TaskListItem)
Removed

Handles OnRemoved(EventArgs) events.

(Inherited from Task)
Removed (Inherited from TaskListItem)

Explicit Interface Implementations

IVsErrorItem.GetCategory(UInt32)

Gets the category of the error.

(Inherited from ErrorTask)
IVsErrorItem.GetHierarchy(IVsHierarchy)

Gets the hierarchy node associated with the task.

(Inherited from ErrorTask)
IVsTaskItem.CanDelete(Int32)

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

(Inherited from Task)
IVsTaskItem.CanDelete(Int32) (Inherited from TaskListItem)
IVsTaskItem.Category(VSTASKCATEGORY[])

Sets the task category.

(Inherited from Task)
IVsTaskItem.Category(VSTASKCATEGORY[]) (Inherited from TaskListItem)
IVsTaskItem.Column(Int32)

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

(Inherited from Task)
IVsTaskItem.Column(Int32) (Inherited from TaskListItem)
IVsTaskItem.Document(String)

Gets the name of the file associated with the task.

(Inherited from Task)
IVsTaskItem.Document(String) (Inherited from TaskListItem)
IVsTaskItem.get_Checked(Int32)

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

(Inherited from Task)
IVsTaskItem.get_Checked(Int32) (Inherited from TaskListItem)
IVsTaskItem.get_Priority(VSTASKPRIORITY[])

Gets the priority of the task.

(Inherited from Task)
IVsTaskItem.get_Priority(VSTASKPRIORITY[]) (Inherited from TaskListItem)
IVsTaskItem.get_Text(String)

Gets the description of the task.

(Inherited from Task)
IVsTaskItem.get_Text(String) (Inherited from TaskListItem)
IVsTaskItem.HasHelp(Int32)

Determines whether or not the task has associated help.

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

Gets the index of the image associated with the task.

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

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

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

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

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

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

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

Opens the Help resource associated with a task.

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

Raised when a task has been deleted.

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

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

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

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

(Inherited from Task)
IVsTaskItem.put_Checked(Int32) (Inherited from TaskListItem)
IVsTaskItem.put_Priority(VSTASKPRIORITY)

Sets the priority level of a task item.

(Inherited from Task)
IVsTaskItem.put_Priority(VSTASKPRIORITY) (Inherited from TaskListItem)
IVsTaskItem.put_Text(String)

Sets the description of the task.

(Inherited from Task)
IVsTaskItem.put_Text(String) (Inherited from TaskListItem)
IVsTaskItem.SubcategoryIndex(Int32)

Gets the index of the task in the subcategory list.

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

Applies to