HttpRequestCachePolicy::CacheSyncDate Property
.NET Framework (current version)
Gets the cache synchronization date for this instance.
Assembly: System (in System.dll)
The cache synchronization date allows you to specify an absolute date when cached contents must be revalidated. If the cache entry was last revalidated prior to the cache synchronization date, revalidation with the server occurs. If the cache entry was revalidated after the cache synchronization date and there are no server revalidation requirements that make the cached entry invalid, the entry from the cache is used. If the cache synchronization date is set to a future date, the entry is revalidated every time it is requested, until the cache synchronization date passes.
The following code example displays the value of this property.
.NET Framework
Available since 2.0
Available since 2.0
Show: