Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
HybridCacheEntryOptions.LocalCacheExpiration Property
Definition
- Namespace:
- Microsoft.Extensions.Caching.Hybrid
- Assembly:
- Microsoft.Extensions.Caching.Abstractions.dll
- Package:
- Microsoft.Extensions.Caching.Abstractions v11.0.0-preview.5.26302.115
- Source:
- HybridCacheEntryOptions.cs
- Source:
- HybridCacheEntryOptions.cs
- Source:
- HybridCacheEntryOptions.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.
public:
property Nullable<TimeSpan> LocalCacheExpiration { Nullable<TimeSpan> get(); void set(Nullable<TimeSpan> value); };
public TimeSpan? LocalCacheExpiration { get; init; }
member this.LocalCacheExpiration : Nullable<TimeSpan> with get, set
Public Property LocalCacheExpiration As Nullable(Of TimeSpan)
Property Value
Remarks
When retrieving a cached value from an external cache store, this value will be used to calculate the local cache expiration, not exceeding the remaining overall cache lifetime.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
Was this page helpful?
