System.Net.Cache.HttpRequestCachePolicy.MaxAge Property

Gets the maximum age permitted for a resource returned from the cache.

Syntax

public TimeSpan MaxAge { get; }

Value

Documentation for this section has not yet been entered.

Remarks

If the cached copy of the resource is older than the specified time value, the resource must be revalidated. The value for this property is specified when the instance is constructed.

Requirements

Namespace: System.Net.Cache
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0