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.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
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