Click or drag to resize

IOperationResult Interface

The primary return type for binary Memcached operations

Namespace:  Couchbase
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.7.4-rev-0
Syntax
public interface IOperationResult : IResult

The IOperationResult type exposes the following members.

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.
(Inherited from IResult.)
Public propertyId
Gets the id or key for the document.
Public propertyMessage
If the operation wasn't succesful, a message indicating why it was not succesful.
(Inherited from IResult.)
Public propertyOpCode
Gets the op code.
Public propertyStatus
The server's response status for the operation.
Public propertySuccess
Returns true if the operation was succesful.
(Inherited from IResult.)
Public propertyToken
Gets the mutation token for the operation if enhanced durability is enabled.
Top
Methods
  NameDescription
Public methodIsNmv
Checks if the server responded with a Not My Vbucket.
Public methodShouldRetry
If the response indicates the request is retryable, returns true.
(Inherited from IResult.)
Top
Extension Methods
  NameDescription
Public Extension MethodEnsureSuccess
Throws a CouchbaseKeyValueResponseException on any error.
(Defined by ResponseExtensions.)
Top
See Also