Edit

Share via


XamlLoadErrorInfo Class

Definition

Contains information about the error generated by the XAML Reader when loading an XML file, including the name of the file and the location in the file where the error occurred.

public ref class XamlLoadErrorInfo
[System.Serializable]
public class XamlLoadErrorInfo
[<System.Serializable>]
type XamlLoadErrorInfo = class
Public Class XamlLoadErrorInfo
Inheritance
XamlLoadErrorInfo
Attributes

Constructors

XamlLoadErrorInfo(String, Int32, Int32)

Creates an instance of a XamlLoadErrorInfo with a specified message about the error and with the line number and position in the XAML file loaded where the error occurred.

Properties

FileName

Gets or sets the name of the XAML file in which the load error occurred.

LineNumber

Gets or sets the line number of the XAML file where the load error occurred.

LinePosition

Gets or sets the line position of the XAML file where the load error occurred.

Message

Gets or sets information about the error generated by the XAML Reader when loading an XML file.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to