The following tables list the members exposed by Cache.
| Name | Description | |
|---|---|---|
 
 | Cache Constructor | Overloaded. Creates a new instance of the Cache class. | 
| Name | Description | |
|---|---|---|
 
 | BytesLimit | Gets or Sets the maximum size of the cache in bytes. | 
 
 | Context | Gets the context which the cached items belongs to. | 
 
 | Count | Gets the number of items stored in the cache. | 
 
 | CurrentSize | Gets the current size of the cache store in bytes. | 
 
 | Item | Gets an item from the cache. | 
 
 | ItemExpireDuration | Gets the duration an item remains in the cache. | 
| Name | Description | |
|---|---|---|
 
 | Add | Adds a new item to the cache store. | 
 
 | Clear | Delete the contents of the cache store. | 
 
 | Close | Closes the Cache object and releases all associated resources. | 
 
 | Contains | Determines whether the cache store contains an item with the specified Id. | 
 
 | Insert | Inserts a new item to the cache store. | 
 
 | Remove | Delete an item from the Cache. | 
 
 | Update | Force the Cache to maintain the cache store. | 
| Name | Description | |
|---|---|---|
 
 | Finalize | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) | 
 
 | OnItemRemoved | Raises the ItemRemoved event. | 
| Name | Description | |
|---|---|---|
 
 | ItemRemoved | Occurs when an item is removed. |