Share via


GetCompleteMessage Method of the DocumentError Object

GetCompleteMessage Method of the DocumentError Object

Gets the SDM complete error string from an SDM compiler error. If the error should be treated as an error, the message is prefaced with "Error" instead of "Warning".

  [C#]
public virtual String GetCompleteMessage(
  WarningLevel warningLevelAsErrors
);

FakePre-dc9ce685449945f9b68028a65e7c6e24-c8cc2d7a02604c1d8acc7141ae06bd2b

Parameters

  • warningLevelAsErrors
    Least important warning level that is treated as an error.

Return Value

The error in MSBuild format.

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.WarningLevelAsErrors
DocumentError

Send comments about this topic to Microsoft

Build date: 10/2/2007