Click or drag to resize

OperationResult Class

The result of an operation.
Inheritance Hierarchy

Namespace:  Couchbase
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.4.5

The OperationResult type exposes the following members.

Constructors
  NameDescription
Public methodOperationResult
Initializes a new instance of the OperationResult class
Top
Properties
  NameDescription
Public propertyCas
The 'Check and Set' or 'CAS' value for enforcing optimistic concurrency.
Public propertyDurability
The level of durability that the operation achieved
Public propertyException
If Success is false and an exception has been caught internally, this field will contain the exception.
Public propertyId
Gets the id or key for the document.
Public propertyMessage
If Success is false, the reason why the operation failed.
Public propertyOpCode
Gets the OperationCode for the operation.
Public propertyStatus
The status returned from the Couchbase Server after an operation.
Public propertySuccess
True if the operation succeeded.
Public propertyToken
Gets the mutation token for the operation if enhanced durability is enabled.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIsNmv
Checks if the server responded with a Not My Vbucket.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodShouldRetry
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodEnsureSuccess
Throws a CouchbaseKeyValueResponseException on any error.
(Defined by ResponseExtensions.)
Top
Remarks
If Success is false, use the Message property to help determine the reason.
See Also