XmlSerializationReader.CreateBadDerivationException 方法

定义

使用读取内部元素的选项从其 XML 表示形式 XmlReader填充对象的当前位置。

此 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类型的命名空间。

clrBase
String

基.NET类型的名称。

返回

异常 InvalidOperationException

注解

XmlSerializationReader的受保护成员仅供在 .NET Framework XML 序列化基础结构内部使用的派生类使用。

适用于