Sana Assistant (online)
Table of Contents

CacheOptions reference

CacheOptions class describes options for storing a value in the cache.

Properties

CacheOptions class

SlidingExpiration

Gets or sets how long a cache entry can be inactive (e.g. not accessed) before it will be removed.

AbsoluteExpiration

Gets or sets an absolute expiration date for the cache entry.

ExpirationToken

Gets or sets the IChangeToken instance which cause the cache entry to expire.

See also