Class ConnectionId
- Namespace
- MongoDB.Driver.Core.Connections
- Assembly
- MongoDB.Driver.Core.dll
Represents a connection identifier.
- Inheritance
-
Connection
Id
- Implements
- Inherited Members
Constructors
- Connection
Id(Server Id) Initializes a new instance of the Connection
Id class.
- Connection
Id(Server Id, long) Initializes a new instance of the Connection
Id class.
Properties
- Local
Value Gets the local value.
- Long
Local Value Gets the local value.
- Long
Server Value Gets the server value.
- Server
Id Gets the server identifier.
- Server
Value Gets the server value.
Methods
- Structurally
Equals(Connection Id) Compares all fields of two ConnectionId instances (Equals ignores the ServerValue).
- With
Server Value(long) Returns a new instance of ConnectionId with a new server value.