CacheInsertOptions Class
Represents the type that contains cache insert options.
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | CacheInsertOptions() | Initializes a new instance of this class. |
| Name | Description | |
|---|---|---|
![]() | AbsoluteExpiration | Gets or sets a value that indicates whether a cache entry should be evicted after a specified duration. |
![]() | Dependencies | Gets or sets the cache dependency. |
![]() | OnRemovedCallback | Gets or sets the CacheItemRemovedCallback callback. |
![]() | Priority | Gets or sets the priority. |
![]() | SlidingExpiration | 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. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
Available since 4.7
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


