Export (0) Print
Expand All

DocumentParseError

DocumentParseError

Defines an SDM document parsing error.

The DocumentParseError class is derived from the Microsoft.SystemDefinitionModel.Tools.DocumentError class.

Public Methods

The DocumentParseError class has the following public methods.

MethodDescription
Equals(Object)

Equals(Object, Object)

Static (Shared).

GetCompleteMessage(WarningLevel)

Gets the SDM complete error string from an SDM compiler error.

GetHashCode()

Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures such as a hash table.

GetType()

ReferenceEquals(Object, Object)

Static (Shared).

ToString()

Gets the SDM complete error string for a compiler error.

Public Properties

The DocumentParseError class has the following public properties.

PropertyDescription
CodeData type: Int32
Access type: Read-only

Gets the error code.

DescriptionData type: String
Access type: Read-only

Gets the description of the error.

FilenameData type: String
Access type: Read-only

Gets the name of the SDM file that caused the error.

LevelData type: WarningLevel
Access type: Read-only

Gets the error level.

LineNumberData type: Int32
Access type: Read-only

Gets the line number in the XML file where this error occurred.

LinePositionData type: Int32
Access type: Read-only

Gets the character position in the line of XML where this error occurred.

Protected Methods

The DocumentParseError class has the following protected methods.

MethodDescription
Finalize()

MemberwiseClone()

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


Send comments about this topic to Microsoft

Build date: 10/2/2007

Community Additions

Show:
© 2014 Microsoft