CacheEntryChangeMonitor.LastModified Property

Definition

Gets a value that indicates the latest time (in UTC time) that the monitored cache entry was changed.

C#
public abstract DateTimeOffset LastModified { get; }

Property Value

The elapsed time.

Remarks

If multiple cache entries are being monitored for changes, the LastModified property returns the latest time a modification occurred in any of the cache entries.

The value of the LastModified property is typically calculated during initialization of a derived class.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)