DocumentDiagnostic Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Class that represents a document diagnostic. Contains information about a span of text in a document that holds an error, warning, information, or hint.
public sealed class DocumentDiagnostic
type DocumentDiagnostic = class
Public NotInheritable Class DocumentDiagnostic
- Inheritance
-
DocumentDiagnostic
Constructors
DocumentDiagnostic(TextRange, String) |
Initializes a new instance of the DocumentDiagnostic class that belongs on an open document. |
DocumentDiagnostic(Uri, Range, String) |
Initializes a new instance of the DocumentDiagnostic class that belongs on a closed document. |
Properties
ErrorCode |
Gets the diagnostic code for the diagnostic. |
HelpLink |
Gets the uri linked to the diagnostic code for extra information. |
ProviderName |
Gets the localized string describing the tool that generated the diagnostic. |
Severity |
Gets the severity of the diagnostic. |