←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#
C++/CLI
Java
Python
public TimeSpan SlidingExpiration { get; set; } 
public:  
   property System::TimeSpan SlidingExpiration 
   { 
      System::TimeSpan get() 
      void set(System::TimeSpan value) 
   } 
public long getSlidingExpiration() 
public void setSlidingExpiration(long value) 
SlidingExpiration # get and set (CacheItemPolicy) 

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 22.0.2023.5.14
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.