Click or drag to resize
ICacheDependencyAdapterGetChangeToken Method
Gets a change token for an array of dependency cache keys.

Namespace: CMS.Helpers.Caching
Assembly: Kentico.Web.Mvc (in Kentico.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
IChangeToken GetChangeToken(
	string[] dependencyCacheKeys
)

Parameters

dependencyCacheKeys
Type: SystemString
Dependency cache keys to watch.

Return Value

Type: IChangeToken
Returns an IChangeToken for watching changes of the dependencyCacheKeys.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when dependencyCacheKeys is null.
ArgumentExceptionThrown when dependencyCacheKeys is an empty array.
See Also