Table of Contents

Class MongoNotPrimaryException

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

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.