ErrorLevel ErrorLevel ErrorLevel ErrorLevel Enum

定义

警告

此 API 现已过时。

注意:此 API 现已过时。NOTE: This API is now obsolete. 未过时的替代项为 ICodeCompilerThe non-obsolete alternative is ICodeCompiler. 指定编译器诊断的严重级别。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
继承
属性

字段

Error Error Error Error 2
FatalError FatalError FatalError FatalError 3
None None None None 0
Warning Warning Warning Warning 1

适用于