ערוך

שתף באמצעות


HttpCachePolicyBase.SetExpires(DateTime) Method

Definition

When overridden in a derived class, sets the Expires HTTP header to an absolute date and time.

public:
 virtual void SetExpires(DateTime date);
public virtual void SetExpires (DateTime date);
abstract member SetExpires : DateTime -> unit
override this.SetExpires : DateTime -> unit
Public Overridable Sub SetExpires (date As DateTime)

Parameters

date
DateTime

The absolute expiration time.

Exceptions

Applies to