CachingAgentSkillsSourceOptions.RefreshInterval Property
Definition
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.
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.