This method is called to cleanup the cache. Derived class must implement cleanup strategy. A lock is acquired before this method is called, which gurantees that derived class has an exclusive access to the cache dictionary. Values are tuples, where Item1 is a stop watch that is set on a last access to the item, and Item2 is an item itself.
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Protected MustOverride Sub DoCleanup ( _
    cache As Dictionary(Of TKey, Tuple(Of Stopwatch, TValue)) _
)
protected abstract void DoCleanup(
    Dictionary<TKey, Tuple<Stopwatch, TValue>> cache
)
protected:
virtual void DoCleanup(
    Dictionary<TKey, Tuple<Stopwatch^, TValue>^>^ cache
) abstract
abstract DoCleanup : 
        cache:Dictionary<'TKey, Tuple<Stopwatch, 'TValue>> -> unit
protected abstract function DoCleanup(
    cache : Dictionary<TKey, Tuple<Stopwatch, TValue>>
)
Parameters
- cache
 Type: System.Collections.Generic.Dictionary<TKey, Tuple<Stopwatch, TValue>>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.