Click or drag to resize
IDependencyCacheKeysStoreTryRemove Method
Tries to remove and return the CancellationTokenSource corresponding to key.

Namespace: CMS.Helpers.Caching.Internal
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
bool TryRemove(
	string key,
	out CancellationTokenSource value
)

Parameters

key
Type: SystemString
The key of the CancellationTokenSource to remove.
value
Type: System.ThreadingCancellationTokenSource
Contains the removed token source, if the key identified an existing token source.

Return Value

Type: Boolean
Returns true if key identifies an existing value, otherwise returns false.
See Also