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 override string Message { 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
Show: