C#
Parameters
- source
- Cache.
- groupName
- The name for the group of freshness control items. All elements that are placed in this group will lose relevance when the ExpireGroup method is called.
- ignoreUserIdentity
- A flag of the participation of the name of the current user in the formation of the cache access key.
Return Value
The cache wrapper that provides the local data storage and verifies data freshness in the initial cache. The freshness indicator is verified each time the entities are accessed.Exception | Description |
---|---|
System.ArgumentException | If an empty string or null is received as the groupName parameter. |
The data is not passed to a cache – it only verifies the freshness indicator. Items in the local cache lose relevance only when the ExpireGroup method is called, but not when writing a new object to the cache.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2