XmlSerializationReader.CreateBadDerivationException 方法

定義

XmlReader 的目前位置,使用讀取內部項目選項,從物件的 XML 表示法填入物件。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

protected:
 Exception ^ CreateBadDerivationException(System::String ^ xsdDerived, System::String ^ nsDerived, System::String ^ xsdBase, System::String ^ nsBase, System::String ^ clrDerived, System::String ^ clrBase);
protected Exception CreateBadDerivationException (string? xsdDerived, string? nsDerived, string? xsdBase, string? nsBase, string? clrDerived, string? clrBase);
protected Exception CreateBadDerivationException (string xsdDerived, string nsDerived, string xsdBase, string nsBase, string clrDerived, string clrBase);
member this.CreateBadDerivationException : string * string * string * string * string * string -> Exception
Protected Function CreateBadDerivationException (xsdDerived As String, nsDerived As String, xsdBase As String, nsBase As String, clrDerived As String, clrBase As String) As Exception

參數

xsdDerived
String

衍生 XML 結構描述資料類型的區域名稱。

nsDerived
String

衍生 XML 結構描述資料類型的命名空間。

xsdBase
String

基底 XML 結構描述資料類型的區域名稱。

nsBase
String

基底 XML 結構描述資料類型的命名空間。

clrDerived
String

衍生 .NET Framework 類型的命名空間。

clrBase
String

基底 .NET Framework 類型的名稱。

傳回

Exception

InvalidOperationException 例外狀況。

備註

的受保護成員 XmlSerializationReader 僅供在 .NET Framework XML 序列化基礎結構內部使用的衍生類別使用。

適用於