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.
Method | Description |
---|---|
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.
Property | Description |
---|---|
Code | Data type: Int32 Access type: Read-only Gets the error code. |
Description | Data type: String Access type: Read-only Gets the description of the error. |
Filename | Data type: String Access type: Read-only Gets the name of the SDM file that caused the error. |
Level | Data type: WarningLevel Access type: Read-only Gets the error level. |
LineNumber | Data type: Int32 Access type: Read-only Gets the line number in the XML file where this error occurred. |
LinePosition | Data 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.
Method | Description |
---|---|
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