MongoClient.this

this(string host, ushort port)
No documentation available for this declaration.
this(string url)

Initializes a MongoDB client using a URL.

The URL must be in the form documented at

http://www.mongodb.org/display/DOCS/Connections which is:

mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[database][?options]]

Throws

An exception if the URL cannot be parsed as a valid MongoDB URL.
this(MongoClientSettings settings)
No documentation available for this declaration.