DataCache.Add Method
Adds an object to the cache.
Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)
Overload List
Name | Description | |
---|---|---|
Add(String, Object) | Adds an object to the cache. |
|
Add(String, Object, IEnumerable<DataCacheTag>) | Adds an object to the cache. This method enables associating tags with the cached object. This overload is not supported in Windows Azure Shared Caching. |
|
Add(String, Object, IEnumerable<DataCacheTag>, String) | Adds an object to a region in the cache. This method enables association of tags with objects in the cache. This overload is not supported in Windows Azure Shared Caching. |
|
Add(String, Object, String) | Adds an object to a region in the cache. This overload is not supported in Windows Azure Shared Caching. |
|
Add(String, Object, TimeSpan) | Adds an object to the cache. This method provides the ability to specify when the object should be expired. |
|
Add(String, Object, TimeSpan, IEnumerable<DataCacheTag>) | Adds an object to the cache. This method enables associating tags with the cached object and specifying when the object should be expired. This overload is not supported in Windows Azure Shared Caching. |
|
Add(String, Object, TimeSpan, IEnumerable<DataCacheTag>, String) | Adds an object to a region in the cache. This method enables associating tags with the cached object and specifying when the object should be expired. This overload is not supported in Windows Azure Shared Caching. |
|
Add(String, Object, TimeSpan, String) | Adds an object to a region in the cache. This method provides the ability to specify when the object should be expired. This overload is not supported in Windows Azure Shared Caching. |
See Also
DataCache Class
Microsoft.ApplicationServer.Caching Namespace
Return to top