ErrorLevel 枚举

定义

注意

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 class ErrorLevel
public enum 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 = 
[<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.")>]
type ErrorLevel = 
Public Enum ErrorLevel
继承
ErrorLevel
属性

字段

Error 2

错误诊断。

FatalError 3

不可继续操作的错误诊断。

None 0

未知严重性。

Warning 1

警告或暗示性诊断。

适用于