XamlException.Message Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

override Message : string with get

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