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.5.0.1
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
| Exception | Condition |
|---|---|
| GemStone.GemFire.Cache..::CacheWriterException | if a CacheWriter aborts the operation; if this occurs some subregions may have already been successfully destroyed. |