CacheEntryRemovedArguments Class

Definition

Provides information about a cache entry that was removed from the cache.

public ref class CacheEntryRemovedArguments
public class CacheEntryRemovedArguments
type CacheEntryRemovedArguments = class
Public Class CacheEntryRemovedArguments
Inheritance
CacheEntryRemovedArguments

Remarks

The properties of CacheEntryRemovedArguments class represent the cache entry itself, the ObjectCache instance that the entry was removed from, and the reason for the removal. The constructor of the CacheEntryRemovedArguments class uses these arguments to create a new instance of the class.

A CacheEntryRemovedArguments object is typically created in a callback method to pass information about a removed cache entry back to an application when a cache entry is removed from the cache.

Constructors

CacheEntryRemovedArguments(ObjectCache, CacheEntryRemovedReason, CacheItem)

Initializes a new instance of the CacheEntryRemovedArguments class.

Properties

CacheItem

Gets an instance of a cache entry that was removed from the cache.

RemovedReason

Gets a value that indicates why a cache entry was removed.

Source

Gets a reference to the source ObjectCache instance that originally contained the removed cache entry.

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

See also