Click or drag to resize

ConnectionDescriptionWithConnectionId Method

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

Namespace:  MongoDB.Driver.Core.Connections
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax
public ConnectionDescription WithConnectionId(
	ConnectionId value
)

Parameters

value
Type: MongoDB.Driver.Core.ConnectionsConnectionId
The value.

Return Value

Type: ConnectionDescription
A connection description.
See Also