Class Expiration
Class that provides values to specify expiration of items in cache.
Inheritance
System.Object
Expiration
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class Expiration
Constructors
Name | Description |
---|---|
Expiration(ExpirationType, TimeSpan) | Instantiates Expiration to provide expiration values for items in 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 cache. The value of this type varies from item to item in cache. |