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.]
The version of the cached object.
Namespace: System.Data.Caching
Assembly: CacheBaseLibrary (in cachebaselibrary.dll)
Syntax
'Declaration
Public ReadOnly Property Version As CacheItemVersion
'Usage
Dim instance As CacheItem
Dim value As CacheItemVersion
value = instance.Version
public CacheItemVersion Version { get; }
public:
property CacheItemVersion^ Version {
CacheItemVersion^ get ();
}
/** @property */
public CacheItemVersion get_Version ()
public function get Version () : CacheItemVersion
Property Value
A CacheItemVersion object that represents the version of the cached object.
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).
See Also
Reference
CacheItem Class
CacheItem Members
System.Data.Caching Namespace