Share via


DataCache.Unlock Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Releases objects locked in the cache. This method supports pessimistic concurrency by making sure that the appropriate DataCacheLockHandle is used for unlocking the object.

Overload List

Name Description
DataCache.Unlock (String, DataCacheLockHandle)
Releases objects locked in the cache. This method supports pessimistic concurrency by making sure that the appropriate DataCacheLockHandle is used for unlocking the object.
DataCache.Unlock (String, DataCacheLockHandle, String)
Releases objects locked in the specified region. This method supports pessimistic concurrency by making sure that the appropriate DataCacheLockHandle is used for unlocking the object.
DataCache.Unlock (String, DataCacheLockHandle, TimeSpan)
Releases objects locked in the cache. This method supports pessimistic concurrency by making sure that the appropriate DataCacheLockHandle is used for unlocking the object. Specifies a new timeout value for the cached object.
DataCache.Unlock (String, DataCacheLockHandle, TimeSpan, String)
Releases objects locked in the specified region. This method supports pessimistic concurrency by making sure that the appropriate DataCacheLockHandle is used for unlocking the object. Specifies a new timeout value for the cached object.

See Also

Reference

DataCache Class
DataCache Members
Microsoft.Data.Caching Namespace