CacheEntryUpdateArguments Constructor

Definition

Initializes a new instance of the CacheEntryUpdateArguments class.

public CacheEntryUpdateArguments (System.Runtime.Caching.ObjectCache source, System.Runtime.Caching.CacheEntryRemovedReason reason, string key, string regionName);

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

Produkt Versjoner
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)