Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Adds a new object to the cache or replaces one if it is already located in the cache.
Overload List
| Name | Description |
|---|---|
| Cache.Put (String, Object) |
Adds a new object to the cache or replaces one if it is already located in the cache. The object is not stored in a region when this overload is used.
|
| Cache.Put (String, String, Object) |
Adds a new object to the cache or replaces one if it already occurs in the cache. This overload allows you to save your object to a region.
|
| Cache.Put (String, String, Object, CacheItemVersion) |
Adds a new object to the cache or replaces one if it already occurs in the cache. This overload allows you to save your object to a region and supports optimistic concurrency by accepting version information as a parameter.
|
| Cache.Put (String, String, Object, Tag[]) |
Adds a new object to the cache or replaces one if it already occurs in the cache. This overload allows you to save your object to a region and update tags associated with the object.
|
| Cache.Put (String, String, Object, TimeSpan) |
Adds a new object to the cache or replaces one if it already occurs in the cache. This overload allows you to save your object to a region and specify an object time-out that overrides the default settings for the cache.
|
| Cache.Put (String, String, Object, CacheItemVersion, TimeSpan) |
Adds a new object to the cache or replaces one if it already occurs in the cache. This overload allows you to save your object to a region and specify an object expiration that overrides the default settings for the cache. This method also supports optimistic concurrency by accepting version information as a parameter.
|
| Cache.Put (String, String, Object, Tag[], CacheItemVersion) |
Adds a new object to the cache or replaces one if it is already located in the cache. This overload allows you to save your object to a region and update tags associated with the object. This method also supports optimistic concurrency by accepting version information as a parameter.
|
| Cache.Put (String, String, Object, Tag[], TimeSpan) |
Adds a new object to the cache, or replaces one if it already occurs in the cache. This overload allows you to save your object to a region, update tags associated with the object, and specify an object expiration that overrides the default settings for the cache.
|
| Cache.Put (String, String, Object, Tag[], CacheItemVersion, TimeSpan) |
Adds a new object to the cache or replaces one if it is already located in the cache. This overload allows you to save your object to a region, update tags associated with the object, and specify an object time-out that overrides the default settings for the cache. This method also supports optimistic concurrency by accepting version information as a parameter.
|