DocumentParseError class [SDM]
| Platform SDK: System Definition Model Overview |
DocumentParseError
Note: This documentation is preliminary and is subject to change.
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) |
Determines whether the specified Object is equal to the current Object. |
| Equals(Object, Object) | Static (Shared). Determines whether the specified Object instances are considered equal. |
| 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() |
Gets the Type of the current instance. |
| ReferenceEquals(Object, Object) | Static (Shared). Determines whether the specified Object instances are the same instance. |
| 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() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
| MemberwiseClone() |
Creates a shallow copy of the current Object. |
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
| Last updated: June 2005 | What did you think of this topic? | Order a Platform SDK CD |
| © Microsoft Corporation. All rights reserved. Terms of use. |