Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
IDeserializationCallback Interface
Definition
- Namespace:
- System.Runtime.Serialization
- Assemblies:
- netstandard.dll, System.Runtime.dll
- Assembly:
- System.Runtime.Serialization.Formatters.dll
- Assembly:
- System.Runtime.dll
- Assembly:
- mscorlib.dll
- Assembly:
- netstandard.dll
- Source:
- IDeserializationCallback.cs
- Source:
- IDeserializationCallback.cs
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
| Name | Description |
|---|---|
| OnDeserialization(Object) |
Runs when the entire object graph has been deserialized. |
Applies to
See also
Feedback
Was this page helpful?
