CacheInfo.CacheDuration 属性

定义

获取或设置缓存持续时间。

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

属性值

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

适用于