Class MongoNotPrimaryException
Represents a MongoDB not primary exception.
public class MongoNotPrimaryException : MongoCommandException, ISerializable
- Inheritance
-
MongoNotPrimaryException
- Implements
- Inherited Members
Constructors
- MongoNotPrimaryException(ConnectionId, BsonDocument, BsonDocument)
Initializes a new instance of the MongoNotPrimaryException class.
- MongoNotPrimaryException(SerializationInfo, StreamingContext)
Initializes a new instance of the MongoNotPrimaryException class.