Table of Contents

Method WithConnectionId

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

WithConnectionId(ConnectionId)

Returns a new instance of ConnectionDescription with a different connection identifier.

public ConnectionDescription WithConnectionId(ConnectionId value)

Parameters

value ConnectionId

The value.

Returns

ConnectionDescription

A connection description.