CacheInsertOptions CacheInsertOptions CacheInsertOptions CacheInsertOptions Class

Definition

Represents the type that contains cache insert options.

public ref class CacheInsertOptions
public class CacheInsertOptions
type CacheInsertOptions = class
Public Class CacheInsertOptions
Inheritance
CacheInsertOptionsCacheInsertOptionsCacheInsertOptionsCacheInsertOptions

Constructors

CacheInsertOptions() CacheInsertOptions() CacheInsertOptions() CacheInsertOptions()

Initializes a new instance of this class.

Properties

AbsoluteExpiration AbsoluteExpiration AbsoluteExpiration AbsoluteExpiration

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

Dependencies Dependencies Dependencies Dependencies

Gets or sets the cache dependency.

OnRemovedCallback OnRemovedCallback OnRemovedCallback OnRemovedCallback

Gets or sets the CacheItemRemovedCallback callback.

Priority Priority Priority Priority

Gets or sets the priority.

SlidingExpiration SlidingExpiration SlidingExpiration 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.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to