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".

public virtual String GetCompleteMessage(WarningLevelwarningLevelAsErrors);
Overridable Public Function GetCompleteMessage( _
  ByVal warningLevelAsErrors As WarningLevel _
) As String

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: 9/5/2007