The IPersist Interfaces

Several standard persistence interfaces allow a client application to obtain and save the state of an object. An object declares its capability to serialize state by implementing one or more of these interfaces. Persistence interfaces also enable a client to clone an object by loading its serialized data back into an object. I have already mentioned Visual Basic's use of property persistence. Microsoft Message Queue (MSMQ) uses the persistence interfaces to save an object's state for transmission in a message. Table 4.1 shows the six standard persistence interfaces.

Table 4.1. The Standard Persistence Interfaces
Interface Description
IStorage The IStorage interface supports the creation and management of structured storage ...

Get COM+ Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.