System::Net::Cache::HttpRequestCachePolicy class

HttpRequestCachePolicy class

HTTP cache policy that expresses RFC2616 HTTP caching semantic Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class HttpRequestCachePolicy : public System::Net::Cache::RequestCachePolicy

Methods

MethodDescription
get_CacheSyncDate() constGets the time when resources stored in the cache must be revalidated.
get_InternalCacheSyncDateUtc() constGets the time in the UTC format when resources stored in the cache must be revalidated. For internal use only.
get_Level() constRTTI information.
get_MaxAge() constGets the max age permitted for a resource.
get_MaxStale() constGets the maximum staleness value that is permitted for a resource.
get_MinFresh() constGets the min age permitted for a resource.
HttpRequestCachePolicy()Constructs a new instance.
HttpRequestCachePolicy(HttpRequestCacheLevel)Constructs a new instance.
HttpRequestCachePolicy(HttpCacheAgeControl, TimeSpan)Constructs a new instance.
HttpRequestCachePolicy(HttpCacheAgeControl, TimeSpan, TimeSpan)Constructs a new instance.
HttpRequestCachePolicy(DateTime)Constructs a new instance.
HttpRequestCachePolicy(HttpCacheAgeControl, TimeSpan, TimeSpan, DateTime)Constructs a new instance.
ToString() const overrideAnalog of C# Object.ToString() method. Enables converting custom objects to string.

See Also