DataCache.Put Method

 

Adds or replaces an object in the cache.

Namespace:   Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)

Overload List

Name Description
System_CAPS_pubmethod Put(String, Object)

Adds or replaces an object in the cache.

System_CAPS_pubmethod Put(String, Object, DataCacheItemVersion)

Adds or replaces an object in the cache if it is at the specified version.

System_CAPS_pubmethod Put(String, Object, DataCacheItemVersion, IEnumerable<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.

System_CAPS_pubmethod Put(String, Object, DataCacheItemVersion, IEnumerable<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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod Put(String, Object, DataCacheItemVersion, TimeSpan, IEnumerable<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.

System_CAPS_pubmethod Put(String, Object, DataCacheItemVersion, TimeSpan, IEnumerable<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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod Put(String, Object, IEnumerable<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.

System_CAPS_pubmethod Put(String, Object, IEnumerable<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.

System_CAPS_pubmethod Put(String, Object, String)

Adds or replaces an object in the specified region. This overload is not supported in Windows Azure Shared Caching.

System_CAPS_pubmethod Put(String, Object, TimeSpan)

Adds or replaces an object in the cache. Specifies the timeout value of the cached object.

System_CAPS_pubmethod Put(String, Object, TimeSpan, IEnumerable<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.

System_CAPS_pubmethod Put(String, Object, TimeSpan, IEnumerable<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.

System_CAPS_pubmethod 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.

See Also

DataCache Class
Microsoft.ApplicationServer.Caching Namespace

Return to top