IDependencyCacheKeysStoreTryRemove Method |
Tries to remove and return the CancellationTokenSource corresponding to key.
Namespace: CMS.Helpers.Caching.InternalAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax 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:
BooleanReturns true if
key identifies an existing value, otherwise returns false.
See Also