TokenInMemoryCacheTKey, TValueTryAcquireCleanupLock - метод
Attempts to acquire a lock for cleaning up the cache if it hasn't already been acquired.
Пространство имён: Tessa.Tokens.CachingСборка: Tessa (в Tessa.dll) Версия: 4.1.4+115fce864fec7bf37ea70396e6660596be991d3b
protected bool TryAcquireCleanupLock()
Protected Function TryAcquireCleanupLock As Boolean
protected:
bool TryAcquireCleanupLock()
member TryAcquireCleanupLock : unit -> bool
Возвращаемое значение
Boolean if the lock is successfully acquired;
if cache is being cleaned up in parallel, therefore the lock is not acquired.