Edit

XamlObjectReaderException Class

Definition

The exception that is thrown by several XamlObjectReader internal helper APIs.

public ref class XamlObjectReaderException : System::Xaml::XamlException
public class XamlObjectReaderException : System.Xaml.XamlException
type XamlObjectReaderException = class
    inherit XamlException
Public Class XamlObjectReaderException
Inherits XamlException
Inheritance
XamlObjectReaderException

Constructors

Name Description
XamlObjectReaderException()

Initializes a new instance of the XamlObjectReaderException class with a system-supplied message that describes the error.

XamlObjectReaderException(SerializationInfo, StreamingContext)

Initializes a new instance of the XamlObjectReaderException class with serialized data.

XamlObjectReaderException(String, Exception)

Initializes a new instance of the XamlObjectReaderException class with a specified error message and a reference to the inner exception that is the cause of this exception.

XamlObjectReaderException(String)

Initializes a new instance of the XamlObjectReaderException class with a specified message that describes the error.

Properties

Name Description
LineNumber

Gets or sets the line number component of XAML text line information that the exception reports.

(Inherited from XamlException)
LinePosition

Gets or sets the line position component of XAML text line information that the exception reports.

(Inherited from XamlException)
Message

Gets or sets the exception message, and if line information is available, appends the line information to the message.

(Inherited from XamlException)

Methods

Name Description
GetObjectData(SerializationInfo, StreamingContext)

Implements GetObjectData(SerializationInfo, StreamingContext) and provides serialization support for the line information data.

(Inherited from XamlException)

Applies to