Table of Contents

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

ConnectionSettings

Methods

CreateConnection(ServerId, EndPoint)

Creates the connection.

IConnection CreateConnection(ServerId serverId, EndPoint endPoint)

Parameters

serverId ServerId

The server identifier.

endPoint EndPoint

The end point.

Returns

IConnection

A connection.