System.Xml.Serialization.XmlSerializationReader.CreateMissingIXmlSerializableType Method

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

Syntax

protected Exception CreateMissingIXmlSerializableType (string name, string ns, string clrType)

Parameters

name
The local name of the XML Schema data type that is mapped to the unavailable derived type.
ns
The namespace of the XML Schema data type that is mapped to the unavailable derived type.
clrType
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 System.Xml.Serialization.XmlSerializationReader are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0