CacheEntryUpdateArguments Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.