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(); };
C#
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) |
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา
คำติชม .NET
.NET เป็นโครงการโอเพนซอร์ส เลือกลิงก์เพื่อให้คำติชม: