XmlSerializationReader.AddFixup Method

Definition

Stores an object that contains a callback method to subsequently be called, as necessary, to fill in .NET Framework collections or enumerations that map to SOAP-encoded arrays or SOAP-encoded, multi-referenced elements.

Overloads

AddFixup(XmlSerializationReader+CollectionFixup)

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

Stores an object that contains a callback method that will be called, as necessary, to fill in .NET collections or enumerations that map to SOAP-encoded arrays or SOAP-encoded, multi-referenced elements.

AddFixup(XmlSerializationReader+Fixup)

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

Stores an object that contains a callback method instance that will be called, as necessary, to fill in the objects in a SOAP-encoded array.

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.

AddFixup(XmlSerializationReader+CollectionFixup)

Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs

Stores an object that contains a callback method that will be called, as necessary, to fill in .NET collections or enumerations that map to SOAP-encoded arrays or SOAP-encoded, multi-referenced elements.

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

protected:
 void AddFixup(System::Xml::Serialization::XmlSerializationReader::CollectionFixup ^ fixup);
protected void AddFixup (System.Xml.Serialization.XmlSerializationReader.CollectionFixup? fixup);
protected void AddFixup (System.Xml.Serialization.XmlSerializationReader.CollectionFixup fixup);
member this.AddFixup : System.Xml.Serialization.XmlSerializationReader.CollectionFixup -> unit
Protected Sub AddFixup (fixup As XmlSerializationReader.CollectionFixup)

Parameters

fixup
XmlSerializationReader.CollectionFixup

A XmlSerializationCollectionFixupCallback delegate and the callback method's input data.

Remarks

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

During initialization, the .NET XML serialization infrastructure dynamically generates and compiles a temporary class for deserialization that is derived from XmlSerializationReader. During this process, the infrastructure generates XmlSerializationCollectionFixupCallback methods and it creates XmlSerializationReader.CollectionFixup objects to store the fix-up methods and their input data. The infrastructure does so for SOAP-encoded arrays or SOAP-encoded, multi-referenced elements whose data types, in either case, map to .NET collections or enumerations. Next, as necessary, the methods are invoked during deserialization to fill in array items or multi-referenced objects.

You should not directly create an instance of the XmlSerializationCollectionFixupCallback or XmlSerializationReader.CollectionFixup class.

Applies to

AddFixup(XmlSerializationReader+Fixup)

Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs

Stores an object that contains a callback method instance that will be called, as necessary, to fill in the objects in a SOAP-encoded array.

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

protected:
 void AddFixup(System::Xml::Serialization::XmlSerializationReader::Fixup ^ fixup);
protected void AddFixup (System.Xml.Serialization.XmlSerializationReader.Fixup? fixup);
protected void AddFixup (System.Xml.Serialization.XmlSerializationReader.Fixup fixup);
member this.AddFixup : System.Xml.Serialization.XmlSerializationReader.Fixup -> unit
Protected Sub AddFixup (fixup As XmlSerializationReader.Fixup)

Parameters

fixup
XmlSerializationReader.Fixup

An XmlSerializationFixupCallback delegate and the callback method's input data.

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.

While deserializing XML documents into .NET Framework objects, the .NET Framework XML serialization infrastructure dynamically creates instances of fix-up methods that implement the XmlSerializationFixupCallback delegate and creates instances of the XmlSerializationReader.Fixup class to store the fix-up methods and their input data. The infrastructure does so for SOAP-encoded arrays whose data types map to .NET Framework reference types. Next, as necessary, a fix-up method is called to fill in the objects in the array.

In addition, during initialization, the .NET Framework XML serialization infrastructure dynamically generates and compiles a temporary class for deserialization that derives from XmlSerializationReader. During this process, the infrastructure generates XmlSerializationFixupCallback methods and XmlSerializationReader.Fixup objects for SOAP-encoded, multi-referenced XML data. The methods are then invoked during deserialization.

You should not directly create instances of the XmlSerializationFixupCallback or XmlSerializationReader.Fixup classes.

Applies to