Edit

Share via


HttpCachePolicyWrapper.SetSlidingExpiration(Boolean) Method

Definition

Sets cache expiration to absolute or sliding.

public:
 override void SetSlidingExpiration(bool slide);
public override void SetSlidingExpiration (bool slide);
override this.SetSlidingExpiration : bool -> unit
Public Overrides Sub SetSlidingExpiration (slide As Boolean)

Parameters

slide
Boolean

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

Applies to