DocumentErrorEventArgs.WarningLevelAsErrors property [SDM]

 
Platform SDK: System Definition Model Overview

DocumentErrorEventArgs.WarningLevelAsErrors

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.

[C#]
public WarningLevel WarningLevelAsErrors {get;}
FakePre-56bc48b133834586a2d17aeac7f114de-e700c9a7595a470588ede4fc86b901b1

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

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