Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
CompositeCache..::.InsertAll Method
CompositeCache Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
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.6.0.0 (3.6.0.0)

# 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

Exception | Condition
--- | ---
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

CompositeCache Class
Tangosol.Net.Cache Namespace