Unregister interest for the keys of the region that match the given regular expression to stop getting updates for them. The regular expression must have been registered previously using a RegisterRegex call. 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)
Version: 3.6.4.0

Syntax

C#
void UnregisterRegex(
	string regex
)
Visual Basic (Declaration)
Sub UnregisterRegex ( _
	regex As String _
)
Visual C++
void UnregisterRegex (
	String^ regex
)

Parameters

regex
String

Exceptions

ExceptionCondition
GemStone.GemFire.Cache.Generic..::IllegalArgumentException If the regular expression string is empty.
GemStone.GemFire.Cache.Generic..::IllegalStateException If this regular expression has not been registered by a previous call to RegisterRegex.
GemStone.GemFire.Cache.Generic..::CacheServerException If an exception is received from the Java cache server.
GemStone.GemFire.Cache.Generic..::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.Generic..::RegionDestroyedException If region destroy is pending.
GemStone.GemFire.Cache.Generic..::UnsupportedOperationException If the region is not a Native Client region or SetClientNotificationEnabled(Boolean) is false.
GemStone.GemFire.Cache.Generic..::TimeoutException if the operation timed out
GemStone.GemFire.Cache.Generic..::UnknownExceptionFor other exceptions.

See Also