HttpRequestCachePolicy()
Contents
[
Hide
]HttpRequestCachePolicy::HttpRequestCachePolicy() constructor
Constructs a new instance.
System::Net::Cache::HttpRequestCachePolicy::HttpRequestCachePolicy()
HttpRequestCachePolicy::HttpRequestCachePolicy(HttpRequestCacheLevel) constructor
Constructs a new instance.
System::Net::Cache::HttpRequestCachePolicy::HttpRequestCachePolicy(HttpRequestCacheLevel level)
Arguments
Parameter | Type | Description |
---|---|---|
level | HttpRequestCacheLevel | The caching behavior for resources. |
HttpRequestCachePolicy::HttpRequestCachePolicy(HttpCacheAgeControl, TimeSpan) constructor
Constructs a new instance.
System::Net::Cache::HttpRequestCachePolicy::HttpRequestCachePolicy(HttpCacheAgeControl cacheAgeControl, TimeSpan ageOrFreshOrStale)
Arguments
Parameter | Type | Description |
---|---|---|
cacheAgeControl | HttpCacheAgeControl | Controls the caching behavior for resources. |
ageOrFreshOrStale | TimeSpan | An amount of time. |
HttpRequestCachePolicy::HttpRequestCachePolicy(HttpCacheAgeControl, TimeSpan, TimeSpan) constructor
Constructs a new instance.
System::Net::Cache::HttpRequestCachePolicy::HttpRequestCachePolicy(HttpCacheAgeControl cacheAgeControl, TimeSpan maxAge, TimeSpan freshOrStale)
Arguments
Parameter | Type | Description |
---|---|---|
cacheAgeControl | HttpCacheAgeControl | Controls the caching behavior for resources. |
maxAge | TimeSpan | The max age permitted for resources. |
freshOrStale | TimeSpan | An amount of time. |
HttpRequestCachePolicy::HttpRequestCachePolicy(DateTime) constructor
Constructs a new instance.
System::Net::Cache::HttpRequestCachePolicy::HttpRequestCachePolicy(DateTime cacheSyncDate)
Arguments
Parameter | Type | Description |
---|---|---|
cacheSyncDate | DateTime | The time when resources stored in the cache must be revalidated. |
HttpRequestCachePolicy::HttpRequestCachePolicy(HttpCacheAgeControl, TimeSpan, TimeSpan, DateTime) constructor
Constructs a new instance.
System::Net::Cache::HttpRequestCachePolicy::HttpRequestCachePolicy(HttpCacheAgeControl cacheAgeControl, TimeSpan maxAge, TimeSpan freshOrStale, DateTime cacheSyncDate)
Arguments
Parameter | Type | Description |
---|---|---|
cacheAgeControl | HttpCacheAgeControl | Controls the caching behavior for resources. |
maxAge | TimeSpan | The max age permitted for resources. |
freshOrStale | TimeSpan | An amount of time. |
cacheSyncDate | DateTime | The time when resources stored in the cache must be revalidated. |
See Also
- Enum HttpRequestCacheLevel
- Enum HttpCacheAgeControl
- Class HttpRequestCachePolicy
- Class TimeSpan
- Class DateTime
- Namespace System::Net::Cache
- Library Aspose.Slides