อ่านในภาษาอังกฤษ

แชร์ผ่าน


Defaults.DefaultTimeToLiveForCacheEntries Property

Definition

Gets a TimeSpan that specifies the default amount of time that cached AI responses should survive in the IResponseCacheProvider's cache before they are considered expired and evicted.

C#
public static TimeSpan DefaultTimeToLiveForCacheEntries { get; }

Property Value

Applies to

ผลิตภัณฑ์ เวอร์ชัน
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)