Class ConnectionId
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
MongoDB.Driver.Core.Connections
Assembly
MongoDB.Driver.dll
Represents a connection identifier.
public sealed class ConnectionId : IEquatable<ConnectionId>
Inheritance
ConnectionId
Implements
Inherited Members
Constructors
Initializes a new instance of the ConnectionId class.
Initializes a new instance of the ConnectionId class.
Properties
Gets the local value.
Gets the local value.
Gets the server value.
Gets the server identifier.
Gets the server value.
Methods
Indicates whether the current object is equal to another object of the same type.
Determines whether the specified object is equal to the current object.
Serves as the default hash function.
StructurallyEquals(ConnectionId)
Compares all fields of two ConnectionId instances (Equals ignores the ServerValue).
Returns a string that represents the current object.
Returns a new instance of ConnectionId with a new server value.