Method CreateConnectionPool
- Namespace
- MongoDB.Driver.Core.ConnectionPools
- Assembly
- MongoDB.Driver.Core.dll
CreateConnectionPool(ServerId, EndPoint, IConnectionExceptionHandler)
Creates a connection pool.
IConnectionPool CreateConnectionPool(ServerId serverId, EndPoint endPoint, IConnectionExceptionHandler connectionExceptionHandler)
Parameters
serverIdServerIdThe server identifier.
endPointEndPointThe end point.
connectionExceptionHandlerIConnectionExceptionHandlerThe connection exception handler.
Returns
- IConnectionPool
A connection pool.