Editare

Partajați prin


XmlSerializationFixupCallback Delegate

Definition

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

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

public delegate void XmlSerializationFixupCallback(System::Object ^ fixup);
public delegate void XmlSerializationFixupCallback(object fixup);
type XmlSerializationFixupCallback = delegate of obj -> unit
Public Delegate Sub XmlSerializationFixupCallback(fixup As Object)

Parameters

fixup
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.

Remarks

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.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to

See also