XamlParseException.BaseUri Property


Gets base URI information when the exception is thrown.

Namespace:   System.Windows.Markup
Assembly:  PresentationFramework (in PresentationFramework.dll)

public Uri BaseUri { get; internal set; }

Property Value

Type: System.Uri

The parser context base URI.

Base URI is potentially available because of parser context when the exception occurred. Knowing the base URI can be useful for debugging cases where a resource resolution error is the underlying cause.

.NET Framework
Available since 3.0
Return to top