←Select platform

SlidingExpiration Property

Summary

Indicates whether the cache entry should be deleted if it has not been accessed in a given span of time.

Syntax
C#
VB
C++
Java
public TimeSpan SlidingExpiration { get; set; } 
Public Property SlidingExpiration() As System.TimeSpan 
   Get 
   Set 
public:  
   property System::TimeSpan SlidingExpiration 
   { 
      System::TimeSpan get() 
      void set(System::TimeSpan value) 
   } 
public long getSlidingExpiration() 
public void setSlidingExpiration(long value) 

Property Value

The time span which the cache entry must be accessed before the cache entry is deleted from the cache. The default is NoSlidingExpiration which means that the item should not be expired based on a time span.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly