HttpResponse.ExpiresAbsolute HttpResponse.ExpiresAbsolute HttpResponse.ExpiresAbsolute HttpResponse.ExpiresAbsolute Property

定义

获取或设置从缓存中移除缓存信息的绝对日期和时间。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

属性值

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

注解

Expires Cache已弃用、和CacheControl属性,以支持通过内部对象提供的类方法来控制InternetInformationServices(IIS)输出缓存HttpCachePolicy ExpiresAbsolute和客户端缓存。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.

适用于