Share via


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
System_CAPS_pubmethod Add(String, Object)

Adds an object to the cache.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod Add(String, Object, String)

Adds an object to a region in the cache. This overload is not supported in Windows Azure Shared Caching.

System_CAPS_pubmethod Add(String, Object, TimeSpan)

Adds an object to the cache. This method provides the ability to specify when the object should be expired.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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