XmlSchemaException.SourceUri Property

Definition

Gets the Uniform Resource Identifier (URI) location of the schema that caused the exception.

public:
 property System::String ^ SourceUri { System::String ^ get(); };
public string? SourceUri { get; }
public string SourceUri { get; }
member this.SourceUri : string
Public ReadOnly Property SourceUri As String

Property Value

The URI location of the schema that caused the exception.

Remarks

Important

The SourceUri property returns the URI path to the schema file that caused the exception. The SourceUri property should not be exposed in untrusted scenarios.

Applies to