IRegion TKey, TValue  Keys Property Pivotal GemFire .NET Client Documentation
Gets an ICollection containing the keys of the IDictionary Returns all the keys for this region. This includes keys for which the entry is invalid. For local region instance - gets collection of keys from local cache only. For distributed region instance - gets collection of keys from the Gemfire cache server.

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

ICollection<TKey> Keys { get; }

Return Value

collection of keys


IDictionary TKey, TValue  Keys

[!:UnsupportedOperationException] if the member type is not Client or region is not a Native Client region.
[!:CacheServerException] If an exception is received from the Java cache server. Only for Native Client regions.
[!:NotConnectedException] if not connected to the GemFire system because the client cannot establish usable connections to any of the servers given to it. For pools configured with locators, if no locators are available, innerException of NotConnectedException is set to NoAvailableLocatorsException.
[!:MessageException] If the message received from server could not be handled. This will be the case when an unregistered typeId is received in the reply or reply is not well formed. More information can be found in the log.
System TimeoutException if there is a timeout getting the keys
See Also