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)

No code example is currently available or this language may not be supported.

Property Value

Type: System.Nullable<TimeSpan>

Returns TimeSpan.

Return to top
Show: