XmlSchemaException.SourceUri 属性

定义

获取导致此异常的架构的统一资源标识符 (URI) 位置。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

属性值

String

导致此异常的架构的 URI 位置。The URI location of the schema that caused the exception.

注解

重要

SourceUri属性返回导致此异常的架构文件的 URI 路径。The SourceUri property returns the URI path to the schema file that caused the exception. SourceUri不应在不受信任的方案中公开属性。The SourceUri property should not be exposed in untrusted scenarios.

适用于