Method AddErrorLabelsFromCommandResult
AddErrorLabelsFromCommandResult(MongoServerException, BsonDocument)
Adds error labels from a command result document into the top-level label list.
protected static void AddErrorLabelsFromCommandResult(MongoServerException exception, BsonDocument result)
Parameters
exceptionMongoServerExceptionThe exception.
resultBsonDocumentThe result document.