Table of Contents

Constructor Acknowledged

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Acknowledged(int, long, long, long, long?, IEnumerable<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, IEnumerable<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 IEnumerable<WriteModel<TDocument>>

The processed requests.

upserts IEnumerable<BulkWriteUpsert>

The upserts.