Register interest for the keys of the region that match the
given regular expression to get updates from the server.
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: 2.7.0.0
Syntax
| C# |
|---|
public void RegisterRegex( string regex ) |
| Visual Basic (Declaration) |
|---|
Public Sub RegisterRegex ( _ regex As String _ ) |
| Visual C++ |
|---|
public: void RegisterRegex ( String^ regex ) |
Parameters
- regex
- String
Exceptions
| Exception | Condition |
|---|---|
| GemStone.GemFire.Cache..::IllegalArgumentException | If the regular expression string is empty. |
| 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. |
| GemStone.GemFire.Cache..::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. |
| 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..::UnknownException | For other exceptions. |
See Also
Region Class
GemStone.GemFire.Cache Namespace