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: 2.7.0.0

Syntax

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

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.

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

See Also