Interface IConnectionFactory
- Namespace
- MongoDB.Driver.Core.Connections
- Assembly
- MongoDB.Driver.Core.dll
Represents a connection factory.
public interface IConnectionFactory
Properties
ConnectionSettings
Gets the connection settings.
ConnectionSettings ConnectionSettings { get; }
Property Value
Methods
CreateConnection(ServerId, EndPoint)
Creates the connection.
IConnection CreateConnection(ServerId serverId, EndPoint endPoint)
Parameters
Returns
- IConnection
A connection.