Modifier

Partager via


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
CacheInsertOptions

Constructors

CacheInsertOptions()

Initializes a new instance of this class.

Properties

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.

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to