Invalidates this region.

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

Syntax

C#
public void InvalidateRegion()
Visual Basic (Declaration)
Public Sub InvalidateRegion
Visual C++
public:
void InvalidateRegion ()

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

ExceptionCondition
GemStone.GemFire.Cache..::CacheListenerException if CacheListener throws an exception; if this occurs some subregions may have already been successfully invalidated
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

See Also