CacheEntryUpdateArguments Constructor (ObjectCache^, CacheEntryRemovedReason, String^, String^)
.NET Framework (current version)
Initializes a new instance of the CacheEntryUpdateArguments class.
Assembly: System.Runtime.Caching (in System.Runtime.Caching.dll)
public:
CacheEntryUpdateArguments(
ObjectCache^ source,
CacheEntryRemovedReason reason,
String^ key,
String^ regionName
)
Parameters
- source
-
Type:
System.Runtime.Caching::ObjectCache^
The ObjectCache instance from which the cache entry referenced by key will be removed.
- reason
-
Type:
System.Runtime.Caching::CacheEntryRemovedReason
One of the enumeration values that indicate why the cache entry will be removed.
- key
-
Type:
System::String^
The key of the cache entry that will be removed.
- regionName
-
Type:
System::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.
| Exception | Condition |
|---|---|
| ArgumentNullException | source is null. |
| ArgumentNullException | key is null. |
.NET Framework
Available since 4.0
Available since 4.0
Show: