Редагувати

Поділитися через


XmlSerializationWriteCallback Delegate

Definition

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

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

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

Parameters

o
Object

The object being serialized.

Remarks

During initialization, the .NET Framework XML serialization infrastructure dynamically generates and compiles a temporary class for serialization derived from the XmlSerializationWriter class. During this process, the .NET Framework generates write methods that implement the XmlSerializationWriteCallback class 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 write method is called during serialization.

You should not directly instantiate XmlSerializationWriteCallback.

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