Table of Contents

Method AddErrorLabelsFromCommandResult

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Core.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.