HttpCacheDirectiveHeaderValueCollection.MaxStale Property

Definition

Gets or sets the value of the max-stale directive in the Cache-Control HTTP header.

public:
 property IReference<TimeSpan> ^ MaxStale { IReference<TimeSpan> ^ get(); void set(IReference<TimeSpan> ^ value); };
IReference<TimeSpan> MaxStale();

void MaxStale(IReference<TimeSpan> value);
public System.Nullable<System.TimeSpan> MaxStale { get; set; }
var iReference = httpCacheDirectiveHeaderValueCollection.maxStale;
httpCacheDirectiveHeaderValueCollection.maxStale = iReference;
Public Property MaxStale As Nullable(Of TimeSpan)

Property Value

the value of the max-stale directive in the Cache-Control HTTP header.

Applies to