Megosztás a következőn keresztül:


HybridCacheEntryOptions.LocalCacheExpiration Property

Definition

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