System::Net::Cache::HttpRequestCachePolicy::HttpRequestCachePolicy constructor

HttpRequestCachePolicy::HttpRequestCachePolicy() constructor

Constructs a new instance.

System::Net::Cache::HttpRequestCachePolicy::HttpRequestCachePolicy()

See Also

HttpRequestCachePolicy::HttpRequestCachePolicy(DateTime) constructor

Constructs a new instance.

System::Net::Cache::HttpRequestCachePolicy::HttpRequestCachePolicy(DateTime cacheSyncDate)
ParameterTypeDescription
cacheSyncDateDateTimeThe time when resources stored in the cache must be revalidated.

See Also

HttpRequestCachePolicy::HttpRequestCachePolicy(HttpCacheAgeControl, TimeSpan) constructor

Constructs a new instance.

System::Net::Cache::HttpRequestCachePolicy::HttpRequestCachePolicy(HttpCacheAgeControl cacheAgeControl, TimeSpan ageOrFreshOrStale)
ParameterTypeDescription
cacheAgeControlHttpCacheAgeControlControls the caching behavior for resources.
ageOrFreshOrStaleTimeSpanAn amount of time.

See Also

HttpRequestCachePolicy::HttpRequestCachePolicy(HttpCacheAgeControl, TimeSpan, TimeSpan) constructor

Constructs a new instance.

System::Net::Cache::HttpRequestCachePolicy::HttpRequestCachePolicy(HttpCacheAgeControl cacheAgeControl, TimeSpan maxAge, TimeSpan freshOrStale)
ParameterTypeDescription
cacheAgeControlHttpCacheAgeControlControls the caching behavior for resources.
maxAgeTimeSpanThe max age permitted for resources.
freshOrStaleTimeSpanAn amount of time.

See Also

HttpRequestCachePolicy::HttpRequestCachePolicy(HttpCacheAgeControl, TimeSpan, TimeSpan, DateTime) constructor

Constructs a new instance.

System::Net::Cache::HttpRequestCachePolicy::HttpRequestCachePolicy(HttpCacheAgeControl cacheAgeControl, TimeSpan maxAge, TimeSpan freshOrStale, DateTime cacheSyncDate)
ParameterTypeDescription
cacheAgeControlHttpCacheAgeControlControls the caching behavior for resources.
maxAgeTimeSpanThe max age permitted for resources.
freshOrStaleTimeSpanAn amount of time.
cacheSyncDateDateTimeThe time when resources stored in the cache must be revalidated.

See Also

HttpRequestCachePolicy::HttpRequestCachePolicy(HttpRequestCacheLevel) constructor

Constructs a new instance.

System::Net::Cache::HttpRequestCachePolicy::HttpRequestCachePolicy(HttpRequestCacheLevel level)
ParameterTypeDescription
levelHttpRequestCacheLevelThe caching behavior for resources.

See Also