Represents an item for a language service in the Error List Options window.
The DocumentTask type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
DocumentTask | Initializes a new instance of DocumentTask for the specified text buffer, text span, and file name. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Dispose | Overloaded. Recovers resources allocated just before the DocumentTask object is destroyed. |
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
ExecMarkerCommand | Executes a command on a specific marker within the text buffer. |
![]() |
Finalize | Recovers resources just before the DocumentTask object is destroyed. (Overrides Object.Finalize().) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetMarkerCommandInfo | Queries the marker for the command information. |
![]() |
GetTipText | Gets the tip text for the text marker that is displayed when the mouse hovers over the marker. |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
GetUserContext | Creates a new user context. (Inherited from Task.) |
![]() |
MarkerInvalidated | Called when the text associated with a marker is deleted by a user action. |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
OnAfterMarkerChange | Signals that the marker position has changed. |
![]() |
OnAfterSpanReload | Signals that the text under the marker has been altered but the marker has not been deleted. |
![]() |
OnBeforeBufferClose | Sends notification that the text buffer is about to close. |
![]() |
OnBufferSave | Called when the buffer has been saved. |
![]() |
OnDeleted | Raised when the task has been deleted. (Inherited from Task.) |
![]() |
OnHelp | Raised when the user requests Help; for example by right-clicking and selecting Show Error Help. (Inherited from Task.) |
![]() |
OnNavigate | Loads the document associated with the error and jumps to the location of the error. (Overrides Task.OnNavigate(EventArgs).) |
![]() |
OnRemoved | Called when this DocumentTask object is removed from the Error List Options window. (Overrides Task.OnRemoved(EventArgs).) |
![]() |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
CanDelete | Gets or sets whether or not the task can be deleted. (Inherited from Task.) |
![]() |
Category | Gets or sets the task's category. (Inherited from Task.) |
![]() |
Checked | Gets or sets whether not the task's check box is currently selected or cleared. (Inherited from Task.) |
![]() |
Column | Gets or sets the column number within the file associated with the task. (Inherited from Task.) |
![]() |
Document | Gets or sets the file associated with the task. (Inherited from Task.) |
![]() |
ErrorCategory | Gets or sets the error category of this task. (Inherited from ErrorTask.) |
![]() |
HelpKeyword | Gets or sets the Help keyword associated with the task. (Inherited from Task.) |
![]() |
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.) |
![]() |
IsCheckedEditable | Gets or sets whether or not it is possible to edit the checked state of the task. (Inherited from Task.) |
![]() |
IsMarkerValid | Gets whether or not the marker has been set to invalid. |
![]() |
IsPriorityEditable | Gets or sets whether or not it is possible to edit the priority of a task. (Inherited from Task.) |
![]() |
IsTextEditable | Gets or sets whether or not it is possible to edit the description of a task. (Inherited from Task.) |
![]() |
Line | Gets or sets the line number of the file associated with the task. (Inherited from Task.) |
![]() |
Priority | Gets or sets the priority of a task. (Inherited from Task.) |
![]() |
Site | Gets the service provider. |
![]() |
Span | Gets the span where the error occurred. |
![]() |
SubcategoryIndex | Gets or sets the index of the subcategory of the task. (Inherited from Task.) |
![]() |
Text | Gets or sets the description of a task. (Inherited from Task.) |
![]() |
TextLineMarker | Returns the text line marker object describing the location of the error. |
Top
Events
| Name | Description | |
|---|---|---|
![]() |
Deleted | Handles OnDeleted events. (Inherited from Task.) |
![]() |
Help | Handles OnHelp events. (Inherited from Task.) |
![]() |
Navigate | Handles OnNavigate events. (Inherited from Task.) |
![]() |
Removed | Handles OnRemoved events. (Inherited from Task.) |
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
![]() ![]() |
IVsTaskItem.CanDelete | (Inherited from Task.) |
![]() ![]() |
IVsTaskItem.Category | (Inherited from Task.) |
![]() ![]() |
IVsTaskItem.Column | (Inherited from Task.) |
![]() ![]() |
IVsTaskItem.Document | (Inherited from Task.) |
![]() ![]() |
IVsTaskItem.get_Checked | (Inherited from Task.) |
![]() ![]() |
IVsTaskItem.get_Priority | (Inherited from Task.) |
![]() ![]() |
IVsTaskItem.get_Text | (Inherited from Task.) |
![]() ![]() |
IVsErrorItem.GetCategory | (Inherited from ErrorTask.) |
![]() ![]() |
IVsErrorItem.GetHierarchy | (Inherited from ErrorTask.) |
![]() ![]() |
IVsTaskItem.HasHelp | (Inherited from Task.) |
![]() ![]() |
IVsTaskItem.ImageListIndex | (Inherited from Task.) |
![]() ![]() |
IVsTaskItem.IsReadOnly | (Inherited from Task.) |
![]() ![]() |
IVsTaskItem.Line | (Inherited from Task.) |
![]() ![]() |
IVsTaskItem.NavigateTo | (Inherited from Task.) |
![]() ![]() |
IVsTaskItem.NavigateToHelp | (Inherited from Task.) |
![]() ![]() |
IVsTaskItem.OnDeleteTask | (Inherited from Task.) |
![]() ![]() |
IVsTaskItem.OnFilterTask | (Inherited from Task.) |
![]() ![]() |
IVsTaskItem.put_Checked | (Inherited from Task.) |
![]() ![]() |
IVsTaskItem.put_Priority | (Inherited from Task.) |
![]() ![]() |
IVsTaskItem.put_Text | (Inherited from Task.) |
![]() ![]() |
IVsTaskItem.SubcategoryIndex | (Inherited from Task.) |
Top
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)