Modifier

Partager via


HttpCachePolicyBase.SetProxyMaxAge(TimeSpan) Method

Definition

When overridden in a derived class, sets the Cache-Control: s-maxage HTTP header to the specified time span.

public:
 virtual void SetProxyMaxAge(TimeSpan delta);
public virtual void SetProxyMaxAge (TimeSpan delta);
abstract member SetProxyMaxAge : TimeSpan -> unit
override this.SetProxyMaxAge : TimeSpan -> unit
Public Overridable Sub SetProxyMaxAge (delta As TimeSpan)

Parameters

delta
TimeSpan

The time span to set the Cache-Control: s-maxage header to.

Exceptions

Applies to