VMware Tanzu GemFire .NET Client API Reference
IRegionFactory Interface Reference
This interface provides for the configuration and creation of instances of Region. More...
Inherited by RegionFactory.
Public Member Functions | |
| IRegion< TKey, TValue > | Create< TKey, TValue > (string regionName) |
| Creates a region with the given name. The region is client side alias of a GemFire Region. The server side Region to which this client is connected with needs to be present in order to use this object. More... | |
| IRegionFactory | SetCacheListener< TKey, TValue > (ICacheListener< TKey, TValue > cacheListener) |
Sets the CacheListener for the Region being created. More... | |
Detailed Description
This interface provides for the configuration and creation of instances of Region.
Member Function Documentation
◆ Create< TKey, TValue >()
| IRegion<TKey, TValue> IRegionFactory.Create< TKey, TValue > | ( | string | regionName | ) |
Creates a region with the given name. The region is client side alias of a GemFire Region. The server side Region to which this client is connected with needs to be present in order to use this object.
- Parameters
-
regionName the name of the region to create
- Returns
- new region
- Exceptions
-
System.Data.DuplicateNameException if a region with the same name is already in this cache CacheClosedException if the cache is closed GemFireIllegalArgumentException if RegionShortcut.PROXY is not used.
◆ SetCacheListener< TKey, TValue >()
| IRegionFactory IRegionFactory.SetCacheListener< TKey, TValue > | ( | ICacheListener< TKey, TValue > | cacheListener | ) |
Sets the CacheListener for the Region being created.
- Parameters
-
cacheListener user-defined cache listener, or null for no cache listener
- Returns
- the instance of IRegionFactory
The documentation for this interface was generated from the following file:
- gemfire.client/Interfaces/IRegionFactory.cs

