MemoryStoreDefaultOptions.DefaultTtlSeconds Property

Definition

The default time-to-live for memories in seconds. A value of 0 indicates that memories do not expire. Defaults to 0.

public TimeSpan? DefaultTtlSeconds { get; set; }
member this.DefaultTtlSeconds : Nullable<TimeSpan> with get, set
Public Property DefaultTtlSeconds As Nullable(Of TimeSpan)

Property Value

Applies to