Class BulkWriteOperationResult.Unacknowledged
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
Represents the result of an unacknowledged BulkWrite operation.
[Serializable]
public class BulkWriteOperationResult.Unacknowledged : BulkWriteOperationResult
- Inheritance
-
BulkWriteOperationResult.Unacknowledged
- Inherited Members
Constructors
Unacknowledged(int, IReadOnlyList<WriteRequest>)
Initializes a new instance of the BulkWriteOperationResult.Unacknowledged class.
public Unacknowledged(int requestCount, IReadOnlyList<WriteRequest> processedRequests)
Parameters
requestCount
intThe request count.
processedRequests
IReadOnlyList<WriteRequest>The processed requests.
Properties
DeletedCount
Gets the number of documents that were deleted.
public override long DeletedCount { get; }
Property Value
- long
The number of document that were deleted.
InsertedCount
Gets the number of documents that were inserted.
public override long InsertedCount { get; }
Property Value
- long
The number of document that were inserted.
IsAcknowledged
Gets a value indicating whether the bulk write operation was acknowledged.
public override bool IsAcknowledged { get; }
Property Value
- bool
true
if the bulk write operation was acknowledged; otherwise,false
.
IsModifiedCountAvailable
Gets a value indicating whether the modified count is available.
public override bool IsModifiedCountAvailable { get; }
Property Value
- bool
true
if the modified count is available; otherwise,false
.
Remarks
The available modified count.
MatchedCount
Gets the number of documents that were matched.
public override long MatchedCount { get; }
Property Value
- long
The number of document that were matched.
ModifiedCount
Gets the number of documents that were actually modified during an update.
public override long ModifiedCount { get; }
Property Value
- long
The number of document that were actually modified during an update.
Upserts
Gets a list with information about each request that resulted in an upsert.
public override IReadOnlyList<BulkWriteOperationUpsert> Upserts { get; }
Property Value
- IReadOnlyList<BulkWriteOperationUpsert>
The list with information about each request that resulted in an upsert.