Поділитися через


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.

Overload List

Name Description
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.

See Also

Reference

DataCache Class
DataCache Members
Microsoft.ApplicationServer.Caching Namespace

  ff425062(v=azure.10).md 2011-08-26