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.5.7-alpha1
Syntax
public class OperationResult : IOperationResult, 
	IResult

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
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsNmv
Checks if the server responded with a Not My Vbucket.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(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