DataObjectPool.UnusedObjectsCount Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the number of unused objects in the pool.
public int UnusedObjectsCount();
abstract member UnusedObjectsCount : unit -> int
override this.UnusedObjectsCount : unit -> int
Public Function UnusedObjectsCount () As Integer
Returns
Number of prefetched objects.
Implements
Remarks
This count does not include any prefetched objects. Note that it is possible to forfeit a prefetched object and re-use it at any time.