XmlSyntaxException
The exception that is thrown when there is a syntax error in XML parsing. This class cannot be inherited.
public XmlSyntaxException()
Initializes a new instance of the XmlSyntaxException class with default properties.
Initializes a new instance of the XmlSyntaxException class with the line number where the exception was detected.
Initializes a new instance of the XmlSyntaxException class with a specified error message and the line number where the exception was detected.
Initializes a new instance of the XmlSyntaxException class with a specified error message.
Initializes a new instance of the XmlSyntaxException class with a specified error message and a reference to the inner exception that is the cause of this exception.