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
serverId
ServerIdThe server identifier.
endPoint
EndPointThe end point.
connectionExceptionHandler
IConnectionExceptionHandlerThe connection exception handler.
Returns
- IConnectionPool
A connection pool.