Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.