Share via


HybridCacheEntryOptions.Expiration Property

Definition

Gets or set the overall cache duration of this entry, passed to the backend distributed cache.

public:
 property Nullable<TimeSpan> Expiration { Nullable<TimeSpan> get(); void set(Nullable<TimeSpan> value); };
public TimeSpan? Expiration { get; init; }
member this.Expiration : Nullable<TimeSpan> with get, set
Public Property Expiration As Nullable(Of TimeSpan)

Property Value

Applies to