Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Copies all of the mappings from the specified dictionary to this cache (optional operation).

Namespace:  Tangosol.Net.Cache
Assembly:  Coherence (in Coherence.dll) Version: 3.7.1.23 (3.7.1.23)

Syntax

C#
public virtual void InsertAll(
	IDictionary dictionary
)

Parameters

dictionary
Type: System.Collections..::.IDictionary
Mappings to be stored in this cache.

Implements

ICache..::.InsertAll(IDictionary)

Remarks

These mappings will replace any mappings that this cache had for any of the keys currently in the specified dictionary.

Exceptions

ExceptionCondition
System..::.InvalidCastException If the class of a key or value in the specified dictionary prevents it from being stored in this cache.
System..::.InvalidOperationException If the lock could not be succesfully obtained for some key.
System..::.NullReferenceException This cache does not permit null keys or values, and the specified key or value is null.

See Also