Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Used to represent the version of a cached object.
Namespace: System.Data.Caching
Assembly: CacheBaseLibrary (in cachebaselibrary.dll)
Syntax
'Declaration
Public Class CacheItemVersion
Implements IComparable(Of CacheItemVersion)
'Usage
Dim instance As CacheItemVersion
public class CacheItemVersion : IComparable<CacheItemVersion>
public ref class CacheItemVersion : IComparable<CacheItemVersion^>
public class CacheItemVersion implements IComparable<CacheItemVersion>
public class CacheItemVersion implements IComparable<CacheItemVersion>
Remarks
The CacheItemVersion is updated every time that the object is updated. Only the latest version of the object is stored on the cache cluster. Due to the distributed nature of the cluster, the cache client may not have the latest copy of the object. For this reason, the CacheItemVersion class is essential for concurrency operations. For more information, see Concurrency Models (Velocity) and Concurrency Methods (Velocity).
Inheritance Hierarchy
System.Object
System.Data.Caching.CacheItemVersion
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.