Share via


DataCache.Add Method

Adds an object to the cache.

Overload List

Name Description
DataCache.Add (String, Object) Adds an object to the cache.
DataCache.Add (String, Object, Generic IEnumerable) Adds an object to the cache. This method enables associating tags with the cached object.
DataCache.Add (String, Object, String) Adds an object to a region in the cache.
DataCache.Add (String, Object, TimeSpan) Adds an object to the cache. This method provides the ability to specify when the object should be expired.
DataCache.Add (String, Object, Generic IEnumerable, String) Adds an object to a region in the cache. This method enables association of tags with objects in the cache.
DataCache.Add (String, Object, TimeSpan, Generic IEnumerable) Adds an object to the cache. This method enables associating tags with the cached object and specifying when the object should be expired.
DataCache.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.
DataCache.Add (String, Object, TimeSpan, Generic IEnumerable, 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.

See Also

Reference

DataCache Class
DataCache Members
Microsoft.ApplicationServer.Caching Namespace

  ff425062(v=azure.10).md 2011-08-26