你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CacheConfiguration.CacheDuration Property

Definition

Gets or sets the duration for which the content needs to be cached. Allowed format is in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). HTTP requires the value to be no more than a year

[Newtonsoft.Json.JsonProperty(PropertyName="cacheDuration")]
public TimeSpan? CacheDuration { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="cacheDuration")>]
member this.CacheDuration : Nullable<TimeSpan> with get, set
Public Property CacheDuration As Nullable(Of TimeSpan)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to