The XmlErrorEventArgs class provides data for the TextControl.XmlNotWellFormed and TextControl.XmlInvalid events.

Syntax

public class XmlErrorEventArgs: EventArgs
Public Class XmlErrorEventArgs
  Inherits EventArgs

Properties

Property Description
FilePosition Gets the absolute file position in the XML document where the error occurred.
LineNumber Gets the line number in the XML document that contains the error.
LinePosition Gets the character position within the line where the error occurred.
Reason Gets the reason for the error.
URL Gets the URL of the XML document containing the error.