Modifier

Partager via


HttpCachePolicyBase.SetSlidingExpiration(Boolean) Method

Definition

When overridden in a derived class, sets cache expiration to absolute or sliding.

public:
 virtual void SetSlidingExpiration(bool slide);
public virtual void SetSlidingExpiration (bool slide);
abstract member SetSlidingExpiration : bool -> unit
override this.SetSlidingExpiration : bool -> unit
Public Overridable Sub SetSlidingExpiration (slide As Boolean)

Parameters

slide
Boolean

true to set a sliding cache expiration, or false to set an absolute cache expiration.

Exceptions

Applies to