XamlException.Message Property

Definition

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

public:
 virtual property System::String ^ Message { System::String ^ get(); };
public override string Message { get; }
member this.Message : string
Public Overrides ReadOnly Property Message As String

Property Value

The exception message that includes the appended line information.

Remarks

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.

Applies to