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
exception
MongoServerExceptionThe exception.
result
BsonDocumentThe result document.