Table of Contents

Method CreateConnection

Namespace
MongoDB.Driver.Core.Connections
Assembly
MongoDB.Driver.Core.dll

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.