Compiler.WarningLevel Property
.NET Framework (current version)
Gets the compiler warning level.
Assembly: System.Web (in System.Web.dll)
[ConfigurationPropertyAttribute("warningLevel", DefaultValue = 0)] [IntegerValidatorAttribute(MinValue = 0, MaxValue = 4)] public int WarningLevel { get; }
Specifies the default compiler warning level; determines the level at which the language provider treats compilation warnings as errors.
.NET Framework
Available since 2.0
Available since 2.0
Show: