แก้ไข

แชร์ผ่าน


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.

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
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