语言

CacheInfo.CacheDuration 属性

定义

获取或设置缓存时长。

public int CacheDuration { get; set; }
member this.CacheDuration : int with get, set
Public Property CacheDuration As Integer

属性值

缓存对象应保留在缓存中的时间(以秒为单位)。

适用于