Click or drag to resize
OperationResultT Class
The primary return type for binary Memcached operations which return a value
Inheritance Hierarchy
SystemObject
  CouchbaseOperationResult
    CouchbaseOperationResultT

Namespace:  Couchbase
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.7.4-rev-0
Syntax
public class OperationResult<T> : OperationResult, 
	IOperationResult<T>, IOperationResult, IResult

Type Parameters

T
The value returned by the operation.

The OperationResultT type exposes the following members.

Constructors
  NameDescription
Public methodOperationResultT
Initializes a new instance of the OperationResultT class
Top
Properties
  NameDescription
Public propertyCas
The 'Check and Set' or 'CAS' value for enforcing optimistic concurrency.
(Inherited from OperationResult.)
Public propertyDurability
The level of durability that the operation achieved
(Inherited from OperationResult.)
Public propertyException
If Success is false and an exception has been caught internally, this field will contain the exception.
(Inherited from OperationResult.)
Public propertyId
Gets the id or key for the document.
(Inherited from OperationResult.)
Public propertyMessage
If Success is false, the reason why the operation failed.
(Inherited from OperationResult.)
Public propertyOpCode
Gets the OperationCode for the operation.
(Inherited from OperationResult.)
Public propertyStatus
The status returned from the Couchbase Server after an operation.
(Inherited from OperationResult.)
Public propertySuccess
True if the operation succeeded.
(Inherited from OperationResult.)
Public propertyToken
Gets the mutation token for the operation if enhanced durability is enabled.
(Inherited from OperationResult.)
Public propertyValue
The value of the key retrieved from Couchbase Server.
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.
(Inherited from OperationResult.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodShouldRetry (Inherited from OperationResult.)
Public methodToString
Returns a String that represents this instance.
(Overrides OperationResultToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodEnsureSuccess
Throws a CouchbaseKeyValueResponseException on any error.
(Defined by ResponseExtensions.)
Top
See Also