Export (0) Print
Expand All

HttpCachePolicyBase.SetSlidingExpiration Method

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

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

public virtual void SetSlidingExpiration(
	bool slide
)

Parameters

slide
Type: System.Boolean

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

ExceptionCondition
NotImplementedException

Always.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft