This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
                                  public class CacheManager
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class CacheManager

The type exposes the following members.

Public Methods

  Name Description
Public method Add Overloaded.
Public method Contains
Returns true if key refers to item current stored in cache
Public method Static member Create
Creates a cache manager
Public method Static member CreateInMemoryCacheManager
Creates an in memory cache manager.
Public method Static member CreateIsolatedStorageCacheManager
Creates an cache manager with an IsolatedStorageBackingStore backing store.
Public method Dispose
Not intended for public use. Only public due to requirements of IDisposable. If you call this method, your cache will be unusable.
Public method Equals (Inherited from Object.)
Public method Flush
Removes all items from the cache. If an error occurs during the removal, the cache is left unchanged.
Public method GetData
Returns the value associated with the given key.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Remove
Removes the given item from the cache. If no item exists with that key, this method does nothing.
Public method ToString (Inherited from Object.)

Protected Methods

  Name Description
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)

Public Properties

  Name Description
Public property Count
Returns the number of items currently in the cache.
Public property Item
Returns the item identified by the provided key
Public property LastFlush
Returns the UTC time when the cache was created or flushed last.

See Also

Advanced