Compiler.WarningLevelAsErrors property [SDM]
| SDM Reference |
Compiler.WarningLevelAsErrors
Gets and sets the least important warning level that is treated as an error. 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.
The Compiler.WarningLevelReported property determines whether the warning is reported.
public WarningLevel WarningLevelAsErrors {get; set;}
Public Property WarningLevelAsErrors As WarningLevel
Remarks
The default value is 0.
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, Compiler, WarningLevel, Compiler.WarningLevelReported
| Last updated: November 2005 | What did you think of this topic? | Order a Platform SDK CD |
| © Microsoft Corporation. All rights reserved. Terms of use. |