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
MongoServer Exception The exception.
result
BsonDocument The result document.