Redigera

Dela via


XmlSerializationReader.CreateMissingIXmlSerializableType Method

Definition

Creates an InvalidOperationException that indicates that a derived type that is mapped to an XML Schema data type cannot be located.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Parameters

name
String

The local name of the XML Schema data type that is mapped to the unavailable derived type.

ns
String

The namespace of the XML Schema data type that is mapped to the unavailable derived type.

clrType
String

The full name of the .NET Framework base type for which a derived type cannot be located.

Returns

An InvalidOperationException exception.

Remarks

The protected members of XmlSerializationReader are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.

Applies to