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
Name | Value | Description |
---|---|---|
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. |
Error | 3 | Something not allowed by the rules of the language or other authority. |
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.