'Declaration
Public Enum LxErrorCode Inherits System.Enum
public enum LxErrorCode : System.Enum
'Declaration
Public Enum LxErrorCode Inherits System.Enum
public enum LxErrorCode : System.Enum
Member | Value | Description |
---|---|---|
AdditionalElement | 4 | Occurs when to many XML elements are written. (Occurs when the number of elements written is greater than maxOccurs) |
AlternativeXsError | 14 | The result of an alternative 'Test' resulted in an xs:error |
DuplicateAttribute | 2 | An attribute with the same name (and namespace) was read from an XML element. |
ExtraChoiceValues | 10 | Elements were read that provide multiple values for a choice (an xs:choice can only contain a single valid option) |
FacetFailed | 9 | A value failed a facet rule |
InvalidComplexType | 7 | Occurs when the xsi:type value read could not be found or is not valid for the current location. |
InvalidNameOrNamespace | 12 | Occurs when the writer encounters an element which is not valid in the given context because of its name. This is typically an xs:any or xs:openContent that contains an element that is not allowed due to the xsd rules imposed on it. |
InvalidValue | 8 | Value conversion error |
MissingAttribute | 0 | A required attribute is missing |
MissingElement | 3 | When reading or writing an XML file a required element is missing. (occurs when the number of element read is less than minOccurs). |
NameMissmatch | 11 | Occurs when the writer encounters an element which is not consistent with the xsd type data. In these cases the xsd type data is used. |
NoValidAlternative | 15 | None of the alternative tests were successful |
UnexpectedToken | 6 | Occurs when an unexpected character is encountered while reading an XML file. Typically a result of badly formed XML data. |
UnexpectedXsiNil | 13 | Unexpected xsi:nil attribute has been encountered in the XML, where the schema does not allow it |
UnknownAttribute | 1 | When an unexpected attribute was found when reading XML data |
UnknownElement | 5 | When an unexpected element was found when reading XML data |
System.Object
System.ValueType
System.Enum
LiquidTechnologies.XmlObjects.LxErrorCode
Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows Server 2016, Windows Server 2012, Windows Server 2008. Please ensure you have the latest Service Pack for your operating system installed.