CacheableObjectXml ClassPivotal GemFire .NET Client Documentation
A mutable generic Object wrapper that can serve as a distributable value for caching.
Inheritance Hierarchy

System Object
  GemStone.GemFire.Cache CacheableObjectXml

Namespace: GemStone.GemFire.Cache
Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll) Version:

[ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")]
public class CacheableObjectXml : IGFSerializable

This class can contain any object and uses the XmlSerializer to serialize and deserialize the object. So the user must use the XmlSerializer attributes to control the serialization/deserialization of the object (or implement the IXmlSerializable) to change the serialization/deserialization. However, the latter should be avoided for efficiency reasons and the user should implement IGFSerializable instead.

The user must keep in mind that the rules that apply to XmlSerializer would be the rules that apply to this class. For instance the user cannot pass objects of class implementing or containing IDictionary class, must use XmlIncludeAttribute to mark user-defined types etc.

See Also