OutputCachePolicyBuilder.Expire(TimeSpan) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a policy to change the cached response expiration.
public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder Expire (TimeSpan expiration);
member this.Expire : TimeSpan -> Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder
Public Function Expire (expiration As TimeSpan) As OutputCachePolicyBuilder
Parameters
- expiration
- TimeSpan
The expiration of the cached reponse.