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.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
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.