The enumeration used to specify behaviour of ObjectPool<TItem> in case of there is no available objects in the pool.


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.