DataCacheLockHandle Class
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
The structure used as a key to lock and unlock cached objects in a pessimistic concurency scenario.
Namespace: Microsoft.Data.Caching
Assembly: CacheBaseLibrary (in cachebaselibrary.dll)
Assembly: CacheBaseLibrary (in cachebaselibrary.dll)
[DataContractAttribute(Name=L"DataCacheLockHandle", Namespace=L"http://schemas.microsoft.com/velocity/namespace")] public ref class DataCacheLockHandle
/** @attribute DataContractAttribute(Name="DataCacheLockHandle", Namespace="http://schemas.microsoft.com/velocity/namespace") */ public class DataCacheLockHandle
DataContractAttribute(Name="DataCacheLockHandle", Namespace="http://schemas.microsoft.com/velocity/namespace") public class DataCacheLockHandle
In order for an object to be unlocked, the appropriate DataCacheLockHandle must be provided to the unlocking methods (for example, PutAndUnlock and Unlock). The DataCacheLockHandle is provided by the locking method, GetAndLock. For more information about concurrency, see Concurrency Models (Velocity) and Concurrency Methods (Velocity).
Show: