Content deleted Content added
m Task 70: Update syntaxhighlight tags - remove use of deprecated <source> tags |
→Description: better wording |
||
Line 11:
In some object pools the resources are limited so a maximum number of objects is specified. If this number is reached and a new item is requested, an exception may be thrown, or the thread will be blocked until an object is released back into the pool.
The object pool design pattern is used in several places in the standard classes of the .NET Framework. One example is the .NET Framework Data Provider for SQL Server. As SQL Server database connections can be slow to create, a pool of connections is maintained.
== Benefits ==
|