DataCache.Put Method (String, Object, String)
Adds or replaces an object in the specified region.
Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Client (in microsoft.applicationserver.caching.client.dll)
http://msdn.microsoft.com/en-us/library/microsoft.applicationserver.caching.aspx
2011-08-26Assembly: Microsoft.ApplicationServer.Caching.Client (in microsoft.applicationserver.caching.client.dll)
public DataCacheItemVersion Put ( String key, Object value, String region )
public function Put ( key : String, value : Object, region : String ) : DataCacheItemVersion
Parameters
- key
The unique value that is used to identify the object in the region.
- value
The object to add or replace.
- region
The name of the region the object resides in.
Return Value
A DataCacheItemVersion object that represents the version of the object saved to the cache under the key value.For more information about using this method, see How to: Update an Object in Cache.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.