Invalidates this region.
Namespace: GemStone.GemFire.Cache
Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll)
Version: 2.7.0.0
Syntax
| C# |
|---|
public void InvalidateRegion( IGFSerializable callback ) |
| Visual Basic (Declaration) |
|---|
Public Sub InvalidateRegion ( _ callback As IGFSerializable _ ) |
| Visual C++ |
|---|
public: void InvalidateRegion ( IGFSerializable^ callback ) |
Parameters
- callback
- IGFSerializable
user-defined parameter to pass to callback events triggered by this method
Remarks
The invalidation will cascade to all the subregions and cached entries. The region and the entries in it will still exist.
This operation is not distributed for native clients
To remove all the entries and the region, use DestroyRegion(IGFSerializable).
Does not update any CacheStatistics.
Exceptions
| Exception | Condition |
|---|---|
| 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..::RegionDestroyedException | if this region has been destroyed |