共用方式為


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

警告或暗示性診斷。

適用於