MongoServerAddress Class |
Namespace: MongoDB.Driver
The MongoServerAddress type exposes the following members.
Name | Description | |
---|---|---|
![]() | MongoServerAddress(String) |
Initializes a new instance of MongoServerAddress.
|
![]() | MongoServerAddress(String, Int32) |
Initializes a new instance of MongoServerAddress.
|
Name | Description | |
---|---|---|
![]() | Equals(Object) |
Compares two server addresses.
(Overrides ObjectEquals(Object).) |
![]() | Equals(MongoServerAddress) |
Compares two server addresses.
|
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode |
Gets the hash code for this object.
(Overrides ObjectGetHashCode.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | Parse |
Parses a string representation of a server address.
|
![]() | ToString |
Returns a string representation of the server address.
(Overrides ObjectToString.) |
![]() ![]() | TryParse |
Tries to parse a string representation of a server address.
|
Name | Description | |
---|---|---|
![]() ![]() | Equality |
Compares two server addresses.
|
![]() ![]() | Inequality |
Compares two server addresses.
|
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.) |