Share via


TeamFoundationCacheService<TKey, TValue>.BulkSet Method

Adds items to the cache. If item with specified key exists in the cache, it is replaced.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Sub BulkSet ( _
    requestContext As TeamFoundationRequestContext, _
    items As IEnumerable(Of Tuple(Of TKey, TValue)) _
)
public void BulkSet(
    TeamFoundationRequestContext requestContext,
    IEnumerable<Tuple<TKey, TValue>> items
)
public:
void BulkSet(
    TeamFoundationRequestContext^ requestContext, 
    IEnumerable<Tuple<TKey, TValue>^>^ items
)
member BulkSet : 
        requestContext:TeamFoundationRequestContext * 
        items:IEnumerable<Tuple<'TKey, 'TValue>> -> unit
public function BulkSet(
    requestContext : TeamFoundationRequestContext, 
    items : IEnumerable<Tuple<TKey, TValue>>
)

Parameters

Remarks

This method is thread safe.

.NET Framework Security

See Also

Reference

TeamFoundationCacheService<TKey, TValue> Class

Microsoft.TeamFoundation.Framework.Server Namespace