Share via


DataCache.Add Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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 List)
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 List, String)
Adds an object to a region in the cache. This method enables associating tags with the cached object.
DataCache.Add (String, Object, TimeSpan, Generic List)
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 List, 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.Data.Caching Namespace