Class Expiration
This class provides values to specify expiration of items in the cache.
Inheritance
System.Object
Expiration
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class Expiration
Constructors
Name | Description |
---|---|
Expiration(ExpirationType, TimeSpan) | Instantiates Expiration to provide expiration values for items in the cache. |
Properties
Name | Description |
---|---|
ExpireAfter | Value of time in the form of System.TimeSpan that shows after how much time, the item in cache is to be expired. |
Type | The type of expiration to be used while expiring items in the cache. The value of this type varies from item to item in the cache. |