Click or drag to resize

BulkWriteConcernError Constructor (Int32, String, String, BsonDocument, IEnumerableString)

Initializes a new instance of the BulkWriteConcernError class.

Namespace:  MongoDB.Driver.Core.Operations
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
public BulkWriteConcernError(
	int code,
	string codeName,
	string message,
	BsonDocument details,
	IEnumerable<string> errorLabels
)

Parameters

code
Type: SystemInt32
The code.
codeName
Type: SystemString
The name of the code.
message
Type: SystemString
The message.
details
Type: MongoDB.BsonBsonDocument
The details.
errorLabels
Type: System.Collections.GenericIEnumerableString
The error labels.
See Also