Defaults.DefaultTimeToLiveForCacheEntries Property
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 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.
public:
static property TimeSpan DefaultTimeToLiveForCacheEntries { TimeSpan get(); };
public static TimeSpan DefaultTimeToLiveForCacheEntries { get; }
static member DefaultTimeToLiveForCacheEntries : TimeSpan
Public Shared ReadOnly Property DefaultTimeToLiveForCacheEntries As TimeSpan
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Standard | 2.0 (package-provided) |
คำติชม .NET
.NET เป็นโครงการโอเพนซอร์ส เลือกลิงก์เพื่อให้คำติชม: