Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

XamlException.Message Property

.NET Framework 4.6 and 4.5

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 Overrides ReadOnly Property Message As String

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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft