Share via


DataCacheErrorCode.CacheItemVersionMismatch Field

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

The object in the cache does not match with the specified version; integer value equals 1.

Namespace: Microsoft.Data.Caching
Assembly: CacheBaseLibrary (in cachebaselibrary.dll)

Syntax

'Declaration
Public Const CacheItemVersionMismatch As Integer
'Usage
Dim value As Integer

value = DataCacheErrorCode.CacheItemVersionMismatch
public const int CacheItemVersionMismatch
public:
literal int CacheItemVersionMismatch
public static final int CacheItemVersionMismatch
public const var CacheItemVersionMismatch : int

Remarks

Version comparisons are only meaningful when comparing versions of the same item specified with the same key. Comparison methods may return a result, but the result is only valid for versions of the same key.

See Also

Reference

DataCacheErrorCode Class
DataCacheErrorCode Members
Microsoft.Data.Caching Namespace