Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XmlSerializationReadCallback Delegate

This delegate supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Delegate used by the XmlSerializer class for deserialization of types from SOAP-encoded, non-root XML data.

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

'Declaration
Public Delegate Function XmlSerializationReadCallback () As Object
'Usage
Dim instance As New XmlSerializationReadCallback(AddressOf HandlerMethod)
/** @delegate */
public delegate Object XmlSerializationReadCallback ()
JScript supports the use of delegates, but not the declaration of new ones.

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 .NET Framework generates read methods that implement the XmlSerializationReadCallback delegate. It does so for certain mappings between .NET Framework types and XML data types that are serialized through SOAP-encoded XML and are not root elements. Then, as necessary, a read method is called during deserialization.

Do not directly create instances of the XmlSerializationReadCallback class.

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

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

Show:
© 2017 Microsoft