Class DeleteResult

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

The result of a delete operation.

public abstract class DeleteResult

Inheritance

object

DeleteResult

Derived

DeleteResult.Acknowledged

DeleteResult.Unacknowledged

Inherited Members

object.Equals(object)

object.Equals(object, object)

object.GetHashCode()

object.GetType()

object.MemberwiseClone()

object.ReferenceEquals(object, object)

object.ToString()

Constructors

DeleteResult()

Initializes a new instance of the DeleteResult class.

Properties

DeletedCount

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

IsAcknowledged

Gets a value indicating whether the result is acknowledged.