Table of Contents

Class WriteConcernResult

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Core.dll

Represents the results of an operation performed with an acknowledged WriteConcern.

[Serializable]
public class WriteConcernResult
Inheritance
WriteConcernResult
Inherited Members

Constructors

WriteConcernResult(BsonDocument)

Initializes a new instance of the WriteConcernResult class.

Properties

DocumentsAffected

Gets the number of documents affected.

HasLastErrorMessage

Gets whether the result has a LastErrorMessage.

LastErrorMessage

Gets the last error message (null if none).

Response

Gets the wrapped result.

UpdatedExisting

Gets whether the last command updated an existing document.

Upserted

Gets the _id of an upsert that resulted in an insert.