Table of Contents

Class ElectionId

Namespace
MongoDB.Driver.Core.Clusters
Assembly
MongoDB.Driver.Core.dll

An election id from the server.

public sealed class ElectionId : IEquatable<ElectionId>, IComparable<ElectionId>
Inheritance
ElectionId
Implements
Inherited Members

Constructors

ElectionId(ObjectId)

Initializes a new instance of the ElectionId class.

Methods

CompareTo(ElectionId)

Compares the current object with another object of the same type.

Equals(ElectionId)

Indicates whether the current object is equal to another object of the same type.

Equals(object)

Determines whether the specified object, is equal to this instance.

GetHashCode()

Returns a hash code for this instance.

ToString()

Returns a string that represents this instance.