XmlSerializationFixupCallback Delegate
Collapse the table of content
Expand the table of content

XmlSerializationFixupCallback Delegate

Use BaseTrue

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

Delegate used by the XmlSerializer class for deserialization of SOAP-encoded XML data.

Namespace:   System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

public delegate void XmlSerializationFixupCallback(
	object fixup


Type: System.Object

An instance of the XmlSerializationReader.Fixup class that contains the object to be fixed and the array of string identifiers for the items to fill in.

While deserializing XML documents into .NET Framework objects, the .NET Framework XML serialization infrastructure dynamically instantiates fix-up methods that implement the XmlSerializationFixupCallback delegate. The infrastructure does so for SOAP-encoded arrays whose data types map to .NET Framework reference types. Then, 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 derived from the XmlSerializationReader class. During this process, the infrastructure generates XmlSerializationFixupCallback methods for SOAP-encoded, multi-referenced XML data. The methods are then invoked during deserialization.

Do not directly create an instance of the XmlSerializationFixupCallback class.

SOAP encoding is described in Section 5 of the SOAP 1.1 specification.

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft