Click or drag to resize

OperationResult Class

The result of an operation.
Inheritance Hierarchy

Namespace:  Couchbase.Core.IO.Operations
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 3.0.0-local-202004010202+047adc0837bfc29c0b8cce4322194a09afd8ea18
Syntax
C#
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 OpCode 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 methodIsNmv
Checks if the server responded with a Not My Vbucket.
Public methodShouldRetry
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
Remarks
If Success is false, use the Message property to help determine the reason.
See Also