HttpCachePolicyBase::SetExpires Method (DateTime)
.NET Framework (current version)
When overridden in a derived class, sets the Expires HTTP header to an absolute date and time.
Assembly: System.Web (in System.Web.dll)
Parameters
- date
-
Type:
System::DateTime
The absolute expiration time.
| Exception | Condition |
|---|---|
| NotImplementedException | Always. |
.NET Framework
Available since 3.5
Available since 3.5
Show: