Diagnostic 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 containing all the information needed to describe a diagnostic.
public ref class Diagnostic
[System.Runtime.Serialization.DataContract]
public class Diagnostic
[<System.Runtime.Serialization.DataContract>]
type Diagnostic = class
Public Class Diagnostic
- Inheritance
-
Diagnostic
- Attributes
Constructors
Properties
Code |
Gets the diagnostic code for the diagnostic. |
CustomEditorDiagnosticRepresentation |
Gets the name of EditorFromatDefiniton to override the default representation of diagnostics in the editor offered by the Diagnostics Service. |
DiagnosticRank |
Gets an integer indicating the rank of the diagnostic. |
DiagnosticType |
Gets a localized string describing the type of the diagnostic (e.g. "Security", "Performance", "Threading", etc.). |
ExpandedMessage |
Gets the expanded description of the diagnostic. |
HelpLink |
Gets the help like that describes the diagnostic. |
Identifier |
Gets the identifier used to indicate whether two distinct diagnsotics (possibly from different sources) can be merged. |
Message |
Gets the localized description of the diagnostic. |
OutputId |
Gets the identifier used to link the diagnostic to a line of text in the output window. |
Projects |
Gets the projects in which this diagnostic was reported. |
Range |
Gets the location of the diagnostic in the document. |
RelatedInformation |
Gets the DiagnosticRelatedInformation associated with the diagnostic. |
Severity |
Gets the severity of the diagnostic. |
Source |
Gets a localized string describing the tool that generated the diagnostic (e.g. "FxCop", "msbuild", etc.). |
Tags |
Gets the DiagnosticTags associated with the diagnostic. |
ToolTip |
Gets the tool tip displayed when the user hovers over the error in the error list. |