Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
HybridCacheOptions Class
Definition
- Namespace:
- Microsoft.Extensions.Caching.Hybrid
- Assembly:
- Microsoft.Extensions.Caching.Hybrid.dll
- Package:
- Microsoft.Extensions.Caching.Hybrid v10.7.0
- Source:
- HybridCacheOptions.cs
- Source:
- HybridCacheOptions.cs
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.
Options for configuring the default HybridCache implementation.
public ref class HybridCacheOptions
public class HybridCacheOptions
type HybridCacheOptions = class
Public Class HybridCacheOptions
- Inheritance
-
HybridCacheOptions
Constructors
| Name | Description |
|---|---|
| HybridCacheOptions() | |
Properties
| Name | Description |
|---|---|
| DefaultEntryOptions |
Gets or sets the default global options to be applied to HybridCache operations. |
| DisableCompression |
Gets or sets a value indicating whether compression for this HybridCache instance is disabled. |
| DistributedCacheServiceKey |
Gets or sets the key used to resolve the distributed cache service from the IServiceProvider. |
| MaximumKeyLength |
Gets or sets the maximum permitted length (in characters) of keys. |
| MaximumPayloadBytes |
Gets or sets the maximum size of cache items. |
| ReportTagMetrics |
Gets or sets a value indicating whether to use "tags" data as dimensions on metric reporting. |
Applies to
Feedback
Was this page helpful?
