Table of Contents

Constructor BulkWriteConcernError

Namespace
MongoDB.Driver.Core.Operations
Assembly
MongoDB.Driver.Core.dll

BulkWriteConcernError(int, string, BsonDocument)

Initializes a new instance of the BulkWriteConcernError class.

public BulkWriteConcernError(int code, string message, BsonDocument details)

Parameters

code int

The code.

message string

The message.

details BsonDocument

The details.

BulkWriteConcernError(int, string, string, BsonDocument)

Initializes a new instance of the BulkWriteConcernError class.

public BulkWriteConcernError(int code, string codeName, string message, BsonDocument details)

Parameters

code int

The code.

codeName string

The name of the code.

message string

The message.

details BsonDocument

The details.

BulkWriteConcernError(int, string, string, BsonDocument, IEnumerable<string>)

Initializes a new instance of the BulkWriteConcernError class.

public BulkWriteConcernError(int code, string codeName, string message, BsonDocument details, IEnumerable<string> errorLabels)

Parameters

code int

The code.

codeName string

The name of the code.

message string

The message.

details BsonDocument

The details.

errorLabels IEnumerable<string>

The error labels.