Serialization Events

The serialization process raises four events, which are summarized in Table 43.1.

Table 43.1 Serialization Events

image

Serialization events are handled differently than classic events. There is an attribute for each event that you can handle as follows:

image

The runtime takes care of invoking the specified method according to the moment represented by each attribute. In this way you can provide additional actions based on serialization events.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.223.33.157