←Select platform

CacheItemPolicy Class

Summary

Defines the expiration details of a cache entry.

Syntax

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

Leadtools.Caching Assembly