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
infoSerializationInfoThe SerializationInfo.
contextStreamingContextThe StreamingContext.
MongoClientException(string)
Initializes a new instance of the MongoClientException class.
public MongoClientException(string message)
Parameters
messagestringThe error message.
MongoClientException(string, Exception)
Initializes a new instance of the MongoClientException class.
public MongoClientException(string message, Exception innerException)