ElectionId Class |
Namespace: MongoDB.Driver.Core.Clusters
The ElectionId type exposes the following members.
Name | Description | |
---|---|---|
ElectionId |
Initializes a new instance of the ElectionId class.
|
Name | Description | |
---|---|---|
CompareTo |
Compares the current object with another object of the same type.
| |
Equals(Object) |
Determines whether the specified Object, is equal to this instance.
(Overrides ObjectEquals(Object).) | |
Equals(ElectionId) |
Indicates whether the current object is equal to another object of the same type.
| |
GetHashCode |
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString |
Returns a String that represents this instance.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |