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.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
public ConnectionDescription WithConnectionId(
	ConnectionId value
)

Parameters

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

Return Value

Type: ConnectionDescription
A connection description.
See Also