Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Add Method

DataCache.Add Method

Adds an object to the cache.

NameDescription
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.
  https://msdn.microsoft.com/en-us/library/microsoft.applicationserver.caching.aspx 2011-08-26
Show:
© 2015 Microsoft