• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Method SetAbsoluteExpiration

SetAbsoluteExpiration(DateTime)

Sets the absolute expiration time of the caching item. Only one type of expiration, either absoute expiration or sliding expiration, can be configured at one time.

Declaration
public void SetAbsoluteExpiration(DateTime dateTime)
Parameters
Type Name Description
System.DateTime dateTime

The absolute date time after which the item will be expired from the cache.

Back to top Copyright © 2017 Alachisoft