SALES: 1-800-867-1380

Put Method

Adds or replaces an object in 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 Put(String, Object) Adds or replaces an object in the cache.
Public method Put(String, Object, DataCacheItemVersion) Adds or replaces an object in the cache if it is at the specified version.
Public method Put(String, Object, IEnumerable<(Of <<'(DataCacheTag>)>>)) Adds or replaces an object in the cache. Associates tags with the cached object. This overload is not supported in Windows Azure Shared Caching.
Public method Put(String, Object, String) Adds or replaces an object in the specified region. This overload is not supported in Windows Azure Shared Caching.
Public method Put(String, Object, TimeSpan) Adds or replaces an object in the cache. Specifies the timeout value of the cached object.
Public method Put(String, Object, DataCacheItemVersion, IEnumerable<(Of <<'(DataCacheTag>)>>)) Adds or replaces an object in the cache if it is at the specified version. Associates tags with the cached object. This overload is not supported in Windows Azure Shared Caching.
Public method Put(String, Object, DataCacheItemVersion, String) Adds or replaces an object in the specified region if it is at the specified version. This overload is not supported in Windows Azure Shared Caching.
Public method Put(String, Object, DataCacheItemVersion, TimeSpan) Adds or replaces an object in the cache if it is at the specified version. Specifies the timeout value of the cached object.
Public method Put(String, Object, IEnumerable<(Of <<'(DataCacheTag>)>>), String) Adds or replaces an object in the specified region. Associates tags with the cached object. This overload is not supported in Windows Azure Shared Caching.
Public method Put(String, Object, TimeSpan, IEnumerable<(Of <<'(DataCacheTag>)>>)) Adds or replaces an object in the cache. Specifies the timeout value and associates tags with the cached object. This overload is not supported in Windows Azure Shared Caching.
Public method Put(String, Object, TimeSpan, String) Adds or replaces an object in the specified region. Specifies the timeout value of the cached object. This overload is not supported in Windows Azure Shared Caching.
Public method Put(String, Object, DataCacheItemVersion, IEnumerable<(Of <<'(DataCacheTag>)>>), String) Adds or replaces an object in the specified region if it is at the specified version. Associates tags with the cached object. This overload is not supported in Windows Azure Shared Caching.
Public method Put(String, Object, DataCacheItemVersion, TimeSpan, IEnumerable<(Of <<'(DataCacheTag>)>>)) Adds or replaces an object in the cache if it is at the specified version. Specifies the timeout value and associates tags with the cached object. This overload is not supported in Windows Azure Shared Caching.
Public method Put(String, Object, DataCacheItemVersion, TimeSpan, String) Adds or replaces an object in the specified region if it is at the specified version. Specifies the timeout value of the cached object. This overload is not supported in Windows Azure Shared Caching.
Public method Put(String, Object, TimeSpan, IEnumerable<(Of <<'(DataCacheTag>)>>), String) Adds or replaces an object in the specified region. Specifies the timeout value and associates tags with the cached object. This overload is not supported in Windows Azure Shared Caching.
Public method Put(String, Object, DataCacheItemVersion, TimeSpan, IEnumerable<(Of <<'(DataCacheTag>)>>), String) Adds or replaces an object in the specified region if it is at the specified version. Specifies the timeout value and associates tags with the cached object. 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