XmlSerializationReader.CreateMissingIXmlSerializableType(String, String, String) 方法

定义

创建一个 InvalidOperationException,该异常指示无法定位映射到 XML 架构数据类型的派生类型。Creates an InvalidOperationException that indicates that a derived type that is mapped to an XML Schema data type cannot be located.

此 API 支持产品基础结构,不能在代码中直接使用。

protected:
 Exception ^ CreateMissingIXmlSerializableType(System::String ^ name, System::String ^ ns, System::String ^ clrType);
protected Exception CreateMissingIXmlSerializableType (string? name, string? ns, string? clrType);
protected Exception CreateMissingIXmlSerializableType (string name, string ns, string clrType);
member this.CreateMissingIXmlSerializableType : string * string * string -> Exception
Protected Function CreateMissingIXmlSerializableType (name As String, ns As String, clrType As String) As Exception

参数

name
String

映射到不可用派生类型的 XML 架构数据类型的本地名称。The local name of the XML Schema data type that is mapped to the unavailable derived type.

ns
String

映射到不可用派生类型的 XML 架构数据类型的命名空间。The namespace of the XML Schema data type that is mapped to the unavailable derived type.

clrType
String

无法为其定位派生类型的 .NET Framework 基类型的全名。The full name of the .NET Framework base type for which a derived type cannot be located.

返回

Exception

一个 InvalidOperationException 异常。An InvalidOperationException exception.

注解

的受保护成员 XmlSerializationReader 仅供在 .NET FRAMEWORK XML 序列化基础结构内部使用的派生类使用。The protected members of XmlSerializationReader are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.

适用于