ErrorLevel 枚举

定义

警告

此 API 现已过时。

指定编译器诊断的严重级别。Specifies the severity of a compiler diagnostic.

public enum class ErrorLevel
[System.Obsolete("The recommended alternative is Microsoft.CSharp.CSharpCodeProvider and System.CodeDom.Compiler.ICodeCompiler.  The CSharpCodeProvider and CodeDom ICodeCompiler provide a much richer set of functionality for specifying how to launch the compiler.")]
public enum ErrorLevel
type ErrorLevel = 
Public Enum ErrorLevel
继承
ErrorLevel
属性

字段

Error 2

错误诊断。An error diagnostic.

FatalError 3

不可继续操作的错误诊断。A noncontinuable error diagnostic.

None 0

未知严重性。An unknown severity.

Warning 1

警告或暗示性诊断。A warning or suggestive diagnostic.

适用于