The following tables list the members exposed by CacheItemPolicy.
Public Constructors
Name | Description | |
---|---|---|
CacheItemPolicy | Initializes a new instance of CacheItemPolicy with default parameters. |
Public Methods
Name | Description | |
---|---|---|
Clone | Creates an exact copy of this CacheItemPolicy | |
IsInfinitePolicy | Checks whether a policy is infinite. | |
ToParsableString | Converts this policy to parsable string. | |
TryParse | Creates a new cache item policy from a string. |
Public Properties
Name | Description | |
---|---|---|
AbsoluteExpiration | Indicates whether the cache entry should be deleted after a specified duration. | |
IsInfinite | Indicates that this policy is infinite. | |
SlidingExpiration | Indicates whether the cache entry should be deleted if it has not been accessed in a given span of time. |
See Also