Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XamlException::Message Property

.NET Framework (current version)
 

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

Namespace:   System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

public:
property String^ Message {
	virtual String^ get() override;
}

Property Value

Type: System::String^

The exception message that includes the appended line information.

XamlException overrides this property so that line information is directly included in the message and is therefore more easily visible for debuggers or other exception consumers. If line information is available, this property includes the line information. If line information is unavailable, the message is the same as the base message.

.NET Framework
Available since 4.0
Return to top
Show:
© 2017 Microsoft