Class MongoClientException
Represents a MongoDB client exception.
[Serializable]
public class MongoClientException : MongoException, ISerializable
- Inheritance
-
MongoClientException
- Implements
- Derived
- Inherited Members
Constructors
MongoClientException(SerializationInfo, StreamingContext)
Initializes a new instance of the MongoClientException class.
public MongoClientException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo.
context
StreamingContextThe StreamingContext.
MongoClientException(string)
Initializes a new instance of the MongoClientException class.
public MongoClientException(string message)
Parameters
message
stringThe error message.
MongoClientException(string, Exception)
Initializes a new instance of the MongoClientException class.
public MongoClientException(string message, Exception innerException)