Class MongoNodeIsRecoveringException
Represents a MongoDB node is recovering exception.
[Serializable]
public class MongoNodeIsRecoveringException : MongoCommandException, ISerializable
- Inheritance
-
MongoNodeIsRecoveringException
- Implements
- Inherited Members
Constructors
MongoNodeIsRecoveringException(ConnectionId, BsonDocument, BsonDocument)
Initializes a new instance of the MongoNodeIsRecoveringException class.
public MongoNodeIsRecoveringException(ConnectionId connectionId, BsonDocument command, BsonDocument result)
Parameters
connectionIdConnectionIdThe connection identifier.
commandBsonDocumentThe command.
resultBsonDocumentThe result.
MongoNodeIsRecoveringException(SerializationInfo, StreamingContext)
Initializes a new instance of the MongoNodeIsRecoveringException class.
protected MongoNodeIsRecoveringException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe SerializationInfo.
contextStreamingContextThe StreamingContext.
Properties
IsShutdownError
Gets whether it caused by shutdown or no.
public bool IsShutdownError { get; }