Initializes a new instance of TeamFoundationCacheService class.
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Protected Sub New ( _
    comparer As IEqualityComparer(Of TKey), _
    cleanupInterval As TimeSpan _
)
protected TeamFoundationCacheService(
    IEqualityComparer<TKey> comparer,
    TimeSpan cleanupInterval
)
protected:
TeamFoundationCacheService(
    IEqualityComparer<TKey>^ comparer, 
    TimeSpan cleanupInterval
)
new : 
        comparer:IEqualityComparer<'TKey> * 
        cleanupInterval:TimeSpan -> TeamFoundationCacheService
protected function TeamFoundationCacheService(
    comparer : IEqualityComparer<TKey>, 
    cleanupInterval : TimeSpan
)
Parameters
- comparer 
 Type: System.Collections.Generic.IEqualityComparer<TKey>- The IEqualityComparer(Of T) implementation to use when you compare keys. Cannot be null. 
- cleanupInterval 
 Type: System.TimeSpan- Cleanup interval. Determines how often OnCleanup method is called. 
.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.