Επεξεργασία

Κοινή χρήση μέσω


XmlSerializationReader.CreateBadDerivationException Method

Definition

Populates an object from its XML representation at the current location of the XmlReader, with an option to read the inner element.

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

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

Parameters

xsdDerived
String

The local name of the derived XML Schema data type.

nsDerived
String

The namespace of the derived XML Schema data type.

xsdBase
String

The local name of the base XML Schema data type.

nsBase
String

The namespace of the base XML Schema data type.

clrDerived
String

The namespace of the derived .NET Framework type.

clrBase
String

The name of the base .NET Framework type.

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