←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
Java
C++
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly