ReportDiagnostic Enum
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
介绍如何报告警告诊断。
public enum class ReportDiagnostic
public enum ReportDiagnostic
type ReportDiagnostic =
Public Enum ReportDiagnostic
- 继承
-
ReportDiagnostic
字段
| 名称 | 值 | 说明 |
|---|---|---|
| Default | 0 | 默认情况下报告诊断。 |
| Error | 1 | 将诊断报告为错误。 |
| 4 | 将诊断报告为隐藏。 |
|
| Info | 3 | 以信息的形式报告诊断。 |
| Suppress | 5 | 取消诊断。 |
| Warn | 2 | 将诊断报告为警告,即使已指定 /warnaserror 也是如此。 |