ErrorLevel Enumeration

NOTE: This enumeration is now obsolete. The non-obsolete alternative is ICodeCompiler.

Specifies the severity of a compiler diagnostic.

Namespace: Microsoft.CSharp
Assembly: cscompmgd (in cscompmgd.dll)

[ObsoleteAttribute("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
/** @attribute ObsoleteAttribute("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
ObsoleteAttribute("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

 Member nameDescription
ErrorAn error diagnostic. 
FatalErrorA noncontinuable error diagnostic. 
NoneAn unknown severity. 
WarningA warning or suggestive diagnostic. 

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 1.0, 1.1, 2.0
Obsolete (compiler warning) in 3.0

Community Additions

ADD
Show: