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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- items
Type: System.Collections.Generic.IEnumerable<Tuple<TKey, TValue>>
Remarks
This method is thread safe.
.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.