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. |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈