CachePolicy.MaxAge Property
Gets or sets the timespan after which the response no longer can be considered fresh. If set then include a Cache-Control header field with a Max-Age property set to the value. For backwards compatibility with HTTP/1.0 caches, the Expires header field is also set to an equivalent absolute time stamp.
Namespace: Microsoft.WindowsAzure.Mobile.Service.Cache
Assembly: Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)
Syntax
public Nullable<TimeSpan> MaxAge {
[CompilerGeneratedAttribute]
get;
[CompilerGeneratedAttribute]
set;
}
public:
property Nullable<TimeSpan> MaxAge {
[CompilerGeneratedAttribute]
Nullable<TimeSpan> get();
[CompilerGeneratedAttribute]
void set(Nullable<TimeSpan> value);
}
member MaxAge : Nullable<TimeSpan> with get, set
Public Property MaxAge As Nullable(Of TimeSpan)
Property Value
Type: System.Nullable<TimeSpan>
Returns TimeSpan.
See Also
CachePolicy Class
Microsoft.WindowsAzure.Mobile.Service.Cache Namespace
Return to top