Method WithConnectionId
- Namespace
- MongoDB.Driver.Core.Connections
- Assembly
- MongoDB.Driver.Core.dll
WithConnectionId(ConnectionId)
Returns a new instance of ConnectionDescription with a different connection identifier.
public ConnectionDescription WithConnectionId(ConnectionId value)
Parameters
value
ConnectionIdThe value.
Returns
- ConnectionDescription
A connection description.