Redigera

Dela via


IDeserializationCallback Interface

Definition

Indicates that a class is to be notified when deserialization of the entire object graph has been completed. This interface is not called when you deserialize with XmlSerializer.

public interface class IDeserializationCallback
public interface IDeserializationCallback
[System.Runtime.InteropServices.ComVisible(true)]
public interface IDeserializationCallback
type IDeserializationCallback = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type IDeserializationCallback = interface
Public Interface IDeserializationCallback
Derived
Attributes

Notes to Implementers

Implement the current interface as part of support for a method that is called when deserialization of the object graph is complete.

If an object needs to execute code on its child objects, it can delay this action, implement IDeserializationCallback, and execute the code only when it is called back on this interface.

Methods

OnDeserialization(Object)

Runs when the entire object graph has been deserialized.

Applies to

See also