SALES: 1-800-867-1380

Add Method

Adds an object to the cache.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Add(String, Object) Adds an object to the cache.
Public method Add(String, Object, IEnumerable<(Of <<'(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.
Public method Add(String, Object, String) Adds an object to a region in the cache. This overload is not supported in Windows Azure Shared Caching.
Public method Add(String, Object, TimeSpan) Adds an object to the cache. This method provides the ability to specify when the object should be expired.
Public method Add(String, Object, IEnumerable<(Of <<'(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.
Public method Add(String, Object, TimeSpan, IEnumerable<(Of <<'(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.
Public method 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.
Public method Add(String, Object, TimeSpan, IEnumerable<(Of <<'(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.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft