Region GetAll Method ( CacheableKey , Dictionary ICacheableKey, IGFSerializable , Dictionary ICacheableKey, Exception )Pivotal GemFire .NET Client Documentation
Gets values for an array of keys from the local cache or server. If value for a key is not present locally then it is requested from the java server. The value returned is not copied, so multi-threaded applications should not modify the value directly, but should use the update methods. Updates the LastAccessedTime and [!:CacheStatistics.HitCount] and [!:CacheStatistics.MissCount] for this region and the entry.

Namespace: GemStone.GemFire.Cache
Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll) Version:

public void GetAll(
	CacheableKey[] keys,
	Dictionary<ICacheableKey, IGFSerializable> values,
	Dictionary<ICacheableKey, Exception> exceptions


Type:  GemStone.GemFire.Cache CacheableKey 
the array of keys
Type: System.Collections.Generic Dictionary ICacheableKey, IGFSerializable 
output parameter that provides the map of keys to respective values; when this is NULL then an IllegalArgumentException is thrown.
Type: System.Collections.Generic Dictionary ICacheableKey, Exception 
output parameter that provides the map of keys to any exceptions while obtaining the key; ignored if this is NULL

GemStone.GemFire.Cache IllegalArgumentException If the array of keys is null or empty, or values argument is null.
GemStone.GemFire.Cache CacheServerException If an exception is received from the Java cache server while processing the request.
GemStone.GemFire.Cache NotConnectedException if region is not connected to the cache because the client cannot establish usable connections to any of the given servers For pools configured with locators, if no locators are available, innerException of NotConnectedException is set to NoAvailableLocatorsException.
GemStone.GemFire.Cache RegionDestroyedException If region destroy is pending.
GemStone.GemFire.Cache TimeoutException if operation timed out.
GemStone.GemFire.Cache UnknownException For other exceptions.
See Also