CacheInsertOptions Class

 

Represents the type that contains cache insert options.

Namespace:   System.Web.Caching
Assembly:  System.Web (in System.Web.dll)

System.Object
  System.Web.Caching.CacheInsertOptions

type CacheInsertOptions = class end

NameDescription
System_CAPS_pubmethodCacheInsertOptions()

Initializes a new instance of this class.

NameDescription
System_CAPS_pubpropertyAbsoluteExpiration

Gets or sets a value that indicates whether a cache entry should be evicted after a specified duration.

System_CAPS_pubpropertyDependencies

Gets or sets the cache dependency.

System_CAPS_pubpropertyOnRemovedCallback

Gets or sets the CacheItemRemovedCallback callback.

System_CAPS_pubpropertyPriority

Gets or sets the priority.

System_CAPS_pubpropertySlidingExpiration

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.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
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.

Return to top
Show: