Region LocalDestroyRegion Method (IGFSerializable)Pivotal GemFire .NET Client Documentation
Destroys the whole local region and provides a user-defined parameter object to any ICacheWriter invoked in the process. The region destroy is not distributed to other caches.

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

public void LocalDestroyRegion(
	IGFSerializable callback
)

Parameters

callback
Type: GemStone.GemFire.Cache IGFSerializable
a user-defined parameter to pass to callback events triggered by this call
Exceptions

ExceptionCondition
GemStone.GemFire.Cache CacheWriterException if a CacheWriter aborts the operation; if this occurs some subregions may have already been successfully destroyed.
GemStone.GemFire.Cache CacheListenerException if CacheListener throws an exception; if this occurs some subregions may have already been successfully invalidated
Remarks

Destroy cascades to all entries and subregions. After the destroy, any attempt to use this region object will get a RegionDestroyedException.

Does not update any CacheStatistics.

See Also