ICacheDependencyAdapterGetChangeToken Method |
Gets a change token for an array of dependency cache keys.
Namespace: CMS.Helpers.CachingAssembly: Kentico.Web.Mvc (in Kentico.Web.Mvc.dll) Version: 13.0.131
Syntax IChangeToken GetChangeToken(
string[] dependencyCacheKeys
)
Parameters
- dependencyCacheKeys
- Type: SystemString
Dependency cache keys to watch.
Return Value
Type:
IChangeTokenReturns an
IChangeToken for watching changes of the
dependencyCacheKeys.
Exceptions Exception | Condition |
---|
ArgumentNullException | Thrown when dependencyCacheKeys is null. |
ArgumentException | Thrown when dependencyCacheKeys is an empty array. |
See Also