Table of Contents

Class MongoNotPrimaryException

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Core.dll

Represents a MongoDB not primary exception.

[Serializable]
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.