DocumentErrorEventArgs.WarningLevelAsErrors property [SDM]

Platform SDK: System Definition Model Overview


Note: This documentation is preliminary and is subject to change.

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.

public WarningLevel WarningLevelAsErrors {get;}



Defined in Microsoft.SystemDefinitionModel.Tools.


Requires SdmCompile (in SdmCompile.dll).

.NET Framework

Requires .NET Framework 2.0.

See Also

Microsoft.SystemDefinitionModel.Tools, DocumentErrorEventArgs, WarningLevel

  Last updated: June 2005  |  What did you think of this topic?  |  Order a Platform SDK CD
  © Microsoft Corporation. All rights reserved. Terms of use.