Table of Contents

Constructor ConnectionId

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

ConnectionId(ServerId)

Initializes a new instance of the ConnectionId class.

public ConnectionId(ServerId serverId)

Parameters

serverId ServerId

The server identifier.

ConnectionId(ServerId, long)

Initializes a new instance of the ConnectionId class.

public ConnectionId(ServerId serverId, long localValue)

Parameters

serverId ServerId

The server identifier.

localValue long

The local value.