MemoryDistributedCacheOptions Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies options for MemoryDistributedCacheOptions.
public ref class MemoryDistributedCacheOptions : Microsoft::Extensions::Caching::Memory::MemoryCacheOptions
public class MemoryDistributedCacheOptions : Microsoft.Extensions.Caching.Memory.MemoryCacheOptions
type MemoryDistributedCacheOptions = class
inherit MemoryCacheOptions
Public Class MemoryDistributedCacheOptions
Inherits MemoryCacheOptions
- Inheritance
Memory |
Initializes a new instance of MemoryDistributedCacheOptions. |
Clock |
Gets or sets the clock used by the cache for expiration. (Inherited from MemoryCacheOptions) |
Compaction |
Gets or sets the amount the cache is compacted by when the maximum size is exceeded. (Inherited from MemoryCacheOptions) |
Compact |
Obsolete.
Gets or sets a value that indicates whether the cache is compacted when the maximum size is exceeded. (Inherited from MemoryCacheOptions) |
Expiration |
Gets or sets the minimum length of time between successive scans for expired items. (Inherited from MemoryCacheOptions) |
Size |
Gets or sets the maximum size of the cache. (Inherited from MemoryCacheOptions) |
Track |
Gets or sets a value that indicates whether linked entries are tracked. (Inherited from MemoryCacheOptions) |
Track |
Gets or sets a value that indicates whether memory cache statistics are tracked. (Inherited from MemoryCacheOptions) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a string that represents the current object. (Inherited from Object) |
IOptions<Memory |
Gets the default configured |
Proizvod | Verzije |
---|---|
.NET | 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided) |
Povratne informacije o proizvodu .NET
.NET je projekt otvorenog koda. Odaberite vezu za slanje povratnih informacija: