Returns all of the objects in the local pool back to the shared pool. If the shared
pool is full, the objects are still removed from the local pool but they are discarded
and will be garbage collected (and are not counted in the return value as objects that
were actually returned).
Declaration Syntax
C# |
public int returnAllContextStatisticsToSharedPool()
Return Value
The number of objects actually returned