Table of Contents

Class ReplaceOneResult.Acknowledged

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

The result of an acknowledged update operation.

public class ReplaceOneResult.Acknowledged : ReplaceOneResult
Inheritance
ReplaceOneResult.Acknowledged
Inherited Members

Constructors

Acknowledged(long, long?, BsonValue)

Initializes a new instance of the ReplaceOneResult.Acknowledged class.

Properties

IsAcknowledged

Gets a value indicating whether the result is acknowledged.

IsModifiedCountAvailable

Gets a value indicating whether the modified count is available.

MatchedCount

Gets the matched count. If IsAcknowledged is false, this will throw an exception.

ModifiedCount

Gets the modified count. If IsAcknowledged is false, this will throw an exception.

UpsertedId

Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception.