Unregisters an array of keys to stop getting updates for them. Valid only for a Native Client region when client notification ( SetClientNotificationEnabled(Boolean) ) is true.

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

Syntax

C#
public void UnregisterKeys(
	ICacheableKey[] keys
)
Visual Basic (Declaration)
Public Sub UnregisterKeys ( _
	keys As ICacheableKey() _
)
Visual C++
public:
void UnregisterKeys (
	array<ICacheableKey^>^ keys
)

Parameters

keys
array<ICacheableKey>[]()
the array of keys

Exceptions

ExceptionCondition
GemStone.GemFire.Cache..::IllegalArgumentException If the array of keys is empty.
GemStone.GemFire.Cache..::IllegalStateException If no keys were previously registered.
GemStone.GemFire.Cache..::CacheServerException If an exception is received from the Java cache server.
GemStone.GemFire.Cache..::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.
GemStone.GemFire.Cache..::RegionDestroyedException If region destroy is pending.
GemStone.GemFire.Cache..::UnsupportedOperationException If the region is not a Native Client region or SetClientNotificationEnabled(Boolean) is false.
GemStone.GemFire.Cache..::TimeoutException if the operation timed out
GemStone.GemFire.Cache..::UnknownExceptionFor other exceptions.

See Also