OperationResult T  ClassCouchbase .NET SDK 2.1.0 Documentation
The primary return type for binary Memcached operations which return a value
Inheritance Hierarchy
System Object
  Couchbase OperationResult
    Couchbase OperationResult T 

Namespace: Couchbase
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax
public class OperationResult<T> : OperationResult, 
	IOperationResult<T>, IOperationResult, IResult 
Type Parameters
T
The value returned by the operation.

The OperationResult T  type exposes the following members.

Constructors
  NameDescription
Public methodOperationResult T 
Initializes a new instance of the OperationResult T  class
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 the current object.
(Inherited from Object.)
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 propertyMessage
If Success is false, the reason why the operation failed.
(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 propertyValue
The value of the key retrieved from Couchbase Server.
Top
See Also