Share via


SPCachedObject Class

Represents an instance of an object in a cache, along with metadata related to expiration, size, hit count, expiration, and parent-child relationships.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Server.ObjectCache.SPCachedObject

Namespace:  Microsoft.Office.Server.ObjectCache
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public Class SPCachedObject
'Usage
Dim instance As SPCachedObject
public class SPCachedObject

Remarks

This class also enables the calling application to specify index key-value pairs, so that an object can be pulled from the cache with data other than the object’s identifier.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPCachedObject Members

Microsoft.Office.Server.ObjectCache Namespace