WarningLevelAsErrors Property of the DocumentErrorEventArgs Object
WarningLevelAsErrors Property of the DocumentErrorEventArgs Object
Gets the minimum warning level that should be treated as errors. For example, if the Compiler.WarningLevelAsErrors property is 1, fatal errors (value 0) and warnings that will likely cause a failure in the next compilation stage or an error in the instance space simulator (value 1) are treated as errors. Warnings that should be fixed but can be ignored (value 2) and informational messages (value 3) are treated as warnings.
[C#] public WarningLevel WarningLevelAsErrors {get;}
FakePre-2638a699eb9f47868a9dee127c06d077-89e4e71df2ad4295839651efb5a243a0
Requirements
Namespace |
Defined in Microsoft.SystemDefinitionModel.Tools. |
Assembly |
Requires SdmCompile (in SdmCompile.dll). |
.NET Framework |
Requires .NET Framework 2.0. |
See Also
Microsoft.SystemDefinitionModel.Tools
DocumentErrorEventArgs
WarningLevel
Send comments about this topic to Microsoft
Build date: 10/2/2007