IGridMapPessimisticAutoTx TKey, TValue  AddAll Method IBM WebSphere™ eXtreme Scale Client for .NET API Specification
IBM WebSphere™ eXtreme Scale Client for .NET Release 8.6.0.0 API Specification

Adds multiple key-value pairs to the data grid.

The keys must not exist before executing this method.

A DuplicateKeyException is thrown when the duplicate key is discovered, which may be during a flush or commit operation, in which the exception will be an inner exception.

Namespace: IBM.WebSphere.Caching.Map
Assembly: Client.Api (in Client.Api.dll) Version: 8.6.0.0
Syntax

Parameters

entries
Type: System.Collections.Generic IDictionary TKey, TValue 
Specifies a dictionary object of key-value pairs to be inserted into the data grid.

Return Value

Exceptions

ExceptionCondition
System ArgumentException Occurs when a nullentries is specified, or when a null key is specified in entries.
IBM.WebSphere.Caching.Map DuplicateKeyException Occurs when a dictionary key in entries already exists in the map.
IBM.WebSphere.Caching GridException Occurs when an error occurs during processing.
IBM.WebSphere.Caching.Security AccessControlException Occurs when the caller has insufficient authority to perform this operation.
Remarks

Specification details:
Required client permission:MapPermission.INSERT
Cache tier:Applied to all tiers during commit.
See Also