HttpResponse.ExpiresAbsolute 属性

定义

获取或设置从缓存中移删除缓存信息的绝对日期和时间。Gets or sets the absolute date and time at which to remove cached information from the cache. 提供 ExpiresAbsolute,以便兼容 ASP 的早期版本。ExpiresAbsolute is provided for compatibility with earlier versions of 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

属性值

DateTime

该页过期时的日期和时间。The date and time at which the page expires.

注解

ExpiresAbsolute Expires CacheControl 通过内部对象获取的、和属性已弃用, HttpCachePolicy Cache 可用于控制 IIS) 输出缓存和客户端缓存 (Internet Information Services。The ExpiresAbsolute, Expires, and CacheControl properties have been deprecated in favor of the methods of the HttpCachePolicy class available through the Cache intrinsic object to control the Internet Information Services (IIS) output cache and client caches.

适用于