Method AddErrorLabelsFromCommandResult
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
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
MongoServerException
The exception.
result
BsonDocument
The result document.