Export (0) Print
Expand All

DataCache.GetAndLock Method

Lock the key if key is present and it is not locked by any clients and returns the object corresponding to the key.

NameDescription
DataCache.GetAndLock (String, TimeSpan, out DataCacheLockHandle)Locks the key if the key is present and it is not locked and returns the object corresponding to the key.
DataCache.GetAndLock (String, TimeSpan, out DataCacheLockHandle, Boolean)Lock the key if key is present and it is not locked by any clients and returns the object corresponding to the key.
DataCache.GetAndLock (String, TimeSpan, out DataCacheLockHandle, String)Locks the key if the key is present and is not locked and returns the object corresponding to the key. For objects stored in regions.
DataCache.GetAndLock (String, TimeSpan, out DataCacheLockHandle, String, Boolean)Lock the key if key is present and it is not locked by any clients and returns the object corresponding to the key. For objects stored in regions.
  http://msdn.microsoft.com/en-us/library/microsoft.applicationserver.caching(v=azure.10).aspx 2011-08-26
Show:
© 2014 Microsoft