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 屬性已被取代,可透過內建物件取得類別 CacheHttpCachePolicy 的方法,以控制 Internet Information Services (IIS) 輸出快取和用戶端快取。

適用於