CachingAgentSkillsSourceOptions.RefreshInterval Property

Definition

Gets or sets the interval after which a cached skill list is considered stale and is refreshed from the inner source on the next request.

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

Property Value

Remarks

When null (the default), cached results never expire and the inner source is invoked only once per cache key. Set to a positive TimeSpan to re-invoke the inner source once the cached result is older than the interval. Values of Zero or negative durations effectively disable caching because the cached result is always considered stale.

Applies to