PoolBehavior
Overview
The enumeration used to specify behaviour of ObjectPool<TItem> in case of there is no available objects in the pool.
Location
- Reference: RemObjects.SDK.dll
- Namespace: RemObjects.SDK.Pooling
| Value | Description |
|---|---|
| IgnoreAndReturn | null is returned instead of object, no exception is thrown |
| RaiseError | NoFreeObjectsInPoolException is thrown |
| Wait | The thread is blocked until a free object available. Warning: there is no timeouts implemented so the it will wait infinitely. |
ObjectPool<TItem> class BaseObjectPool<TItem> class CustomObjectPool<TItem> class