ISubscriptionService TKey  RegisterAllKeys Method (Boolean, ICollection TKey , Boolean)Pivotal GemFire .NET Client Documentation
Register interest for all the keys of the region to get updates from the server. Valid only for a Native Client region when client notification ( SetClientNotificationEnabled(Boolean) ) is true. Should only be called for durable clients and with cache server version 5.5 onwards.

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

void RegisterAllKeys(
	bool isDurable,
	ICollection<TKey> resultKeys,
	bool getInitialValues


Type: System Boolean
whether the registration should be durable
Type: System.Collections.Generic ICollection TKey 
if non-null then all keys on the server are returned
Type: System Boolean
true to populate the cache with values of all the keys from the server

[!:CacheServerException] If an exception is received from the Java cache server.
[!: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.
[!:RegionDestroyedException] If region destroy is pending.
[!:UnsupportedOperationException] If the region is not a Native Client region or SetClientNotificationEnabled(Boolean) is false.
System TimeoutException if the operation timed out
[!:UnknownException]For other exceptions.
See Also