Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Include Protected Members
Include Inherited Members
Creates an instance of a DocumentTask object representing a parsing error.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
Overload List
Name
Description
CreateErrorTaskItem(TextSpan, MARKERTYPE, String)
Creates a new error task item for the Error List, for the supplied text, marker type, and file name.
Creates a new error task item for the Error List, for the supplied text, file name, message, priority, category, marker type, and error type.
Top
Remarks
These methods are typically called to create a new DocumentTask object to show an error in the Task window. Each method bundles a text marker, source file span, and source file name in a DocumentTask object then returns that object.
The DocumentTask object is used when a user double-clicks on the item in the error Task window; the source file is opened (if not already open) and the cursor is positioned at the specified span.