อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


ErrorLevel Enum

Definition

Caution

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.

Specifies the severity of a compiler diagnostic.

C#
public enum ErrorLevel
C#
[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
Inheritance
ErrorLevel
Attributes

Fields

Name Value Description
None 0

An unknown severity.

Warning 1

A warning or suggestive diagnostic.

Error 2

An error diagnostic.

FatalError 3

A noncontinuable error diagnostic.

Applies to

ผลิตภัณฑ์ เวอร์ชัน (ล้าสมัย)
.NET Framework 1.1 (2.0, 3.0, 3.5)