Invalidates this region.

Namespace: GemStone.GemFire.Cache
Assembly:  GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll)
Version: 2.5.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.

@cacheserver

The region invalidate will be distributed to other caches if the scope is not Local.

@endcacheserver @nativeclient

This operation is not distributed for native clients

@endnativeclient

To remove all the entries and the region, use DestroyRegion(IGFSerializable).

Does not update any CacheStatistics.

Exceptions

ExceptionCondition
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