HybridCacheEntryContext.Revision Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that increments whenever a property on this instance is changed.
public:
property int Revision { int get(); };
public int Revision { get; }
member this.Revision : int
Public ReadOnly Property Revision As Integer
Property Value
Remarks
Implementations of HybridCache can capture this value before invoking a factory callback and compare it afterwards to determine whether the factory changed any value. The value increments only when a setter assigns a different value than the current one.