DiagnosticSeverity Enum
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.
Describes how severe a diagnostic is.
public enum class DiagnosticSeverity
public enum DiagnosticSeverity
type DiagnosticSeverity =
Public Enum DiagnosticSeverity
- Inheritance
-
DiagnosticSeverity
Fields
Error | 3 | Something not allowed by the rules of the language or other authority. |
0 | Something that is an issue, as determined by some authority, but is not surfaced through normal means. There may be different mechanisms that act on these issues. |
|
Info | 1 | Information that does not indicate a problem (i.e. not prescriptive). |
Warning | 2 | Something suspicious but allowed. |