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.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
public ConnectionDescription WithConnectionId(
	ConnectionId value
)

Parameters

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

Return Value

Type: ConnectionDescription
A connection description.
See Also