XmlException Class
NuGet: GHIElectronics.TinyCLR.System.Xml
Assembly: GHIElectronics.TinyCLR.System.Xml
Namespace: System.Xml
Thrown for XML parse errors; carries line/position info.
public class XmlException : Exception
Constructors
XmlException()
public XmlException() : base()
Initializes a new instance of the XmlException class.
XmlException(string message)
public XmlException(string message) : base(message)
Initializes a new instance of the XmlException class with the specified message.
XmlException(string message, Exception innerException)
public XmlException(string message, Exception innerException) : base(message, innerException)
Initializes a new instance of the XmlException class with the specified message and inner exception.
XmlException(string message, Exception innerException, int lineNumber, int linePosition)
public XmlException(string message, Exception innerException, int lineNumber, int linePosition) : base(message, innerException)
Initializes a new instance of the XmlException class with the specified message, inner exception, and line information.
Properties
LineNumber
public int LineNumber { get; }
The line number where the error occurred.
LinePosition
public int LinePosition { get; }
The line position where the error occurred.