Region InvalidateRegion Method Pivotal GemFire .NET Client Documentation
Invalidates this region.

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

public void InvalidateRegion()

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. For pools configured with locators, if no locators are available, innerException of NotConnectedException is set to NoAvailableLocatorsException.
GemStone.GemFire.Cache RegionDestroyedException if this region has been destroyed

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.

See Also