←Select platform

CacheItemPolicy Class

Summary

Defines the expiration details of a cache entry.

Syntax
C#
VB
C++
Java
public class CacheItemPolicy 
Public Class CacheItemPolicy 
public ref class CacheItemPolicy 
public class CacheItemPolicy 

Remarks

The CacheItemPolicy instance contains the expiration details of a cache entry. When the cache object retrieves a cache entry, the policy is checked and if the expiration details is met, the entry is deleted from the cache.

The default constructor of CacheItemPolicy creates a policy that does not expire (maximum value).

CacheItemPolicy supports two types of expiration:

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