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

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

public void InvalidateRegion(
	IGFSerializable callback
)

Parameters

callback
Type: GemStone.GemFire.Cache IGFSerializable
user-defined parameter to pass to callback events triggered by this method
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. 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
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.

See Also