CacheEntryRemovedArguments Class

.NET Framework (current version)
 

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

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

System.Object
  System.Runtime.Caching.CacheEntryRemovedArguments

public class CacheEntryRemovedArguments

NameDescription
System_CAPS_pubmethodCacheEntryRemovedArguments(ObjectCache, CacheEntryRemovedReason, CacheItem)

Initializes a new instance of the CacheEntryRemovedArguments class.

NameDescription
System_CAPS_pubpropertyCacheItem

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

System_CAPS_pubpropertyRemovedReason

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

System_CAPS_pubpropertySource

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

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

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.

.NET Framework
Available since 4.0

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: