Share via


TeamFoundationCacheService<TKey, TValue> Constructor

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

  • cleanupInterval
    Type: System.TimeSpan

    Cleanup interval. Determines how often OnCleanup method is called.

.NET Framework Security

See Also

Reference

TeamFoundationCacheService<TKey, TValue> Class

Microsoft.TeamFoundation.Framework.Server Namespace