CacheEntryUpdateArguments Constructor

Definition

Initializes a new instance of the CacheEntryUpdateArguments class.

public:
 CacheEntryUpdateArguments(System::Runtime::Caching::ObjectCache ^ source, System::Runtime::Caching::CacheEntryRemovedReason reason, System::String ^ key, System::String ^ regionName);
public CacheEntryUpdateArguments (System.Runtime.Caching.ObjectCache source, System.Runtime.Caching.CacheEntryRemovedReason reason, string key, string regionName);
new System.Runtime.Caching.CacheEntryUpdateArguments : System.Runtime.Caching.ObjectCache * System.Runtime.Caching.CacheEntryRemovedReason * string * string -> System.Runtime.Caching.CacheEntryUpdateArguments
Public Sub New (source As ObjectCache, reason As CacheEntryRemovedReason, key As String, regionName As String)

Parameters

source
ObjectCache

The ObjectCache instance from which the cache entry referenced by key will be removed.

reason
CacheEntryRemovedReason

One of the enumeration values that indicate why the cache entry will be removed.

key
String

The key of the cache entry that will be removed.

regionName
String

The name of the region in the cache to remove the cache entry from. This parameter is optional. If cache regions are not defined, regionName must be null.

Exceptions

key is null.

Applies to