Export (0) Print
Expand All

DocumentTask Members

Represents an item for a language service in the Error List Options window.

The following tables list the members exposed by the DocumentTask type.

  Name Description
Public constructor DocumentTask Initializes a new instance of DocumentTask for the specified text buffer, text span, and file name. 
Top

  Name Description
Public property CanDelete  Gets or sets whether or not the task can be deleted. (Inherited from Task.)
Public property Category  Gets or sets the task's category. (Inherited from Task.)
Public property Checked  Gets or sets whether not the task's check box is currently selected or cleared. (Inherited from Task.)
Public property Column  Gets or sets the column number within the file associated with the task. (Inherited from Task.)
Public property Document  Gets or sets the file associated with the task. (Inherited from Task.)
Public property ErrorCategory  Gets or sets the error category of this task. (Inherited from ErrorTask.)
Public property HelpKeyword  Gets or sets the Help keyword associated with the task. (Inherited from Task.)
Public property HierarchyItem  Gets or sets the hierarchy item associated with this task. (Inherited from ErrorTask.)
Public property ImageIndex  Gets or sets the index of the image associated with the task. (Inherited from Task.)
Public property IsCheckedEditable  Gets or sets whether or not it is possible to edit the checked state of the task. (Inherited from Task.)
Public property IsMarkerValid Gets whether or not the marker has been set to invalid. 
Public property IsPriorityEditable  Gets or sets whether or not it is possible to edit the priority of a task. (Inherited from Task.)
Public property IsTextEditable  Gets or sets whether or not it is possible to edit the description of a task. (Inherited from Task.)
Public property Line  Gets or sets the line number of the file associated with the task. (Inherited from Task.)
Public property Priority  Gets or sets the priority of a task. (Inherited from Task.)
Public property Site Gets the service provider. 
Public property Span Gets the span where the error occurred. 
Public property SubcategoryIndex  Gets or sets the index of the subcategory of the task. (Inherited from Task.)
Public property Text  Gets or sets the description of a task. (Inherited from Task.)
Public property TextLineMarker Returns the text line marker object describing the location of the error. 
Top

(see also Protected Methods )
  Name Description
Public method Dispose Overloaded. Recovers resources allocated just before the DocumentTask object is destroyed.  
Public method Equals  Overloaded. (Inherited from Object.)
Public method ExecMarkerCommand Executes a command on a specific marker within the text buffer.  
Public method GetHashCode  (Inherited from Object.)
Public method GetMarkerCommandInfo Queries the marker for the command information.  
Public method GetTipText Gets the tip text for the text marker that is displayed when the mouse hovers over the marker.  
Public method GetType  (Inherited from Object.)
Public method GetUserContext  Creates a new user context.  (Inherited from Task.)
Public method MarkerInvalidated Called when the text associated with a marker is deleted by a user action.  
Public method OnAfterMarkerChange Signals that the marker position has changed.  
Public method OnAfterSpanReload Signals that the text under the marker has been altered but the marker has not been deleted.  
Public method OnBeforeBufferClose Sends notification that the text buffer is about to close.  
Public method OnBufferSave Called when the buffer has been saved.  
Public method Static ReferenceEquals  (Inherited from Object.)
Public method ToString  (Inherited from Object.)
Top

  Name Description
Protected method Dispose Overloaded. Recovers resources allocated just before the DocumentTask object is destroyed.  
Protected method Finalize Overridden. Recovers resources just before the DocumentTask object is destroyed.  
Protected method MemberwiseClone  (Inherited from Object.)
Protected method OnDeleted  Raised when the task has been deleted.  (Inherited from Task.)
Protected method OnHelp  Raised when the user requests Help; for example by right-clicking and selecting Show Error Help.  (Inherited from Task.)
Protected method OnNavigate Overridden. Loads the document associated with the error and jumps to the location of the error.  
Protected method OnRemoved Overridden. Called when this DocumentTask object is removed from the Error List Options window.  
Top

  Name Description
Public event Deleted  Handles OnDeleted events. (Inherited from Task.)
Public event Help  Handles OnHelp events. (Inherited from Task.)
Public event Navigate  Handles OnNavigate events. (Inherited from Task.)
Public event Removed  Handles OnRemoved events. (Inherited from Task.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft