ErrorLevel Enum

Definition

Warning

This API is now obsolete.

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
Inheritance
ErrorLevel
Attributes

Fields

Error 2

An error diagnostic.

FatalError 3

A noncontinuable error diagnostic.

None 0

An unknown severity.

Warning 1

A warning or suggestive diagnostic.

Applies to