To |
Do This |
Access the data cache |
The data cache is available as
|
Insert an item in the cache |
Use the indexer notation to add an object and a value to the cache |
Insert an item in the cache with a dependency |
Create a CacheDependency object and add the object to the cache using the overloaded insert method |
Insert an item in the cache with an expiration time |
Create a DateTime object and add the object to the cache using the overloaded insert method |
Delete an item from the cache |
Call the cache's Remove method |
Be notified that an item is being removed from the cache |
Include a callback delegate when inserting an item in the cache |