HttpCachePolicyElement.MaximumStale Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the maximum staleness value permitted for a resource returned from the cache.
public:
property TimeSpan MaximumStale { TimeSpan get(); void set(TimeSpan value); };
[System.Configuration.ConfigurationProperty("maximumStale", DefaultValue="-10675199.02:48:05.4775808")]
public TimeSpan MaximumStale { get; set; }
[<System.Configuration.ConfigurationProperty("maximumStale", DefaultValue="-10675199.02:48:05.4775808")>]
member this.MaximumStale : TimeSpan with get, set
Public Property MaximumStale As TimeSpan
Property Value
A TimeSpan value that is set to the maximum staleness value specified in the configuration file.
- Attributes
Remarks
This property specifies the amount of time after content expiration during which the cached copy of the resource is acceptable.
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.