Table of Contents

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 ServerId

The server identifier.

endPoint EndPoint

The end point.

connectionExceptionHandler IConnectionExceptionHandler

The connection exception handler.

Returns

IConnectionPool

A connection pool.