Registers a collection of keys for getting updates from the server. Valid only for a Native Client region when client notification ( SetClientNotificationEnabled(Boolean) ) is true.

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


void RegisterKeys(
	ICollection<TKey> keys
Visual Basic (Declaration)
Sub RegisterKeys ( _
	keys As ICollection(Of TKey) _
Visual C++
void RegisterKeys (
	ICollection<TKey>^ keys


ICollection<(Of <TKey>)>
a collection of keys


[!:IllegalArgumentException] If the collection of keys is empty.
[!:IllegalStateException] If already registered interest for all keys.
[!: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