XmlSchemaException.SourceUri 屬性

定義

取得導致該例外狀況之結構描述的統一資源識別元 (URI) 位置。

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

屬性值

導致該例外狀況之結構描述的 URI 位置。

備註

重要

屬性 SourceUri 會傳回造成例外狀況之架構檔案的 URI 路徑。 屬性 SourceUri 不應該在不受信任的案例中公開。

適用於