Table of Contents

Constructor Acknowledged

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Acknowledged(int, long, long, long, long?, IReadOnlyList<WriteModel<TDocument>>, IEnumerable<BulkWriteUpsert>)

Initializes a new instance of the BulkWriteResult<TDocument>.Acknowledged class.

public Acknowledged(int requestCount, long matchedCount, long deletedCount, long insertedCount, long? modifiedCount, IReadOnlyList<WriteModel<TDocument>> processedRequests, IEnumerable<BulkWriteUpsert> upserts)

Parameters

requestCount int

The request count.

matchedCount long

The matched count.

deletedCount long

The deleted count.

insertedCount long

The inserted count.

modifiedCount long?

The modified count.

processedRequests IReadOnlyList<WriteModel<TDocument>>

The processed requests.

upserts IEnumerable<BulkWriteUpsert>

The upserts.