CacheInsertOptions.SlidingExpiration 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 between the time the inserted object is last accessed and the time at which that object expires. If this value is the equivalent of 20 minutes, the object will expire and be removed from the cache 20 minutes after it was last accessed.
public:
property TimeSpan SlidingExpiration { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan SlidingExpiration { get; set; }
member this.SlidingExpiration : TimeSpan with get, set
Public Property SlidingExpiration As TimeSpan
Property Value
The interval between the time the inserted object is last accessed and the time at which that object expires.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.