Table of Contents

Class AbsoluteTtl

Namespace
Polly.Caching
Assembly
Polly.dll

Defines a ttl strategy which will cache items until the specified point-in-time.

public class AbsoluteTtl : NonSlidingTtl, ITtlStrategy
Inheritance
AbsoluteTtl
Implements
Inherited Members

Constructors

AbsoluteTtl(DateTimeOffset)

Initializes a new instance of the AbsoluteTtl class.

public AbsoluteTtl(DateTimeOffset absoluteExpirationTime)

Parameters

absoluteExpirationTime DateTimeOffset

The UTC point in time until which to consider the cache item valid.