TimePurgePredicate Class
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.
Determines if data should be purged based off time.
public class TimePurgePredicate
type TimePurgePredicate = class
Public Class TimePurgePredicate
- Inheritance
-
TimePurgePredicate
Constructors
TimePurgePredicate(TimeSpan, TimeSpan) |
Initializes a new instance of the TimePurgePredicate class. |
Methods
ShouldPurgeFromTime(TimeSpan, TimeSpan) |
Checks to see if the message should be purged.
Message should be purged if its relative age is greater than |
ShouldPurgFromTime(TimeSpan, TimeSpan) |
Checks to see if the message should be purged. Message should be purged if its relative age is greater than maxRelativeMessageAge and has been in the cache longer than the minTimeInCache. |