HttpResponse.ExpiresAbsolute 属性

定义

获取或设置从缓存中删除缓存信息的绝对日期和时间。 ExpiresAbsolute 提供 是为了与早期版本的 ASP 兼容。

public:
 property DateTime ExpiresAbsolute { DateTime get(); void set(DateTime value); };
public DateTime ExpiresAbsolute { get; set; }
member this.ExpiresAbsolute : DateTime with get, set
Public Property ExpiresAbsolute As DateTime

属性值

页面过期的日期和时间。

注解

ExpiresAbsoluteExpiresCacheControl 属性已弃用,支持通过 HttpCachePolicy > 类提供的 Cache 类的方法来控制Internet Information Services(IIS) 输出缓存和客户端缓存。

适用于