The result of an operation.

System.Object
Couchbase.OperationResult
Couchbase.DocumentFragment<TDocument>
Couchbase.OperationResult<T>
Namespace: CouchbaseCouchbase.OperationResult
Couchbase.DocumentFragment<TDocument>
Couchbase.OperationResult<T>
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 0.0.0.0 (0.0.0.0)

The OperationResult type exposes the following members.

Name | Description | |
---|---|---|
![]() | OperationResult | Initializes a new instance of the OperationResult class |

Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsNmv |
Checks if the server responded with a Not My Vbucket.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ShouldRetry | |
![]() | ToString |
Returns a String that represents this instance.
(Overrides Object.ToString().) |

Name | Description | |
---|---|---|
![]() | Cas |
The 'Check and Set' or 'CAS' value for enforcing optimistic concurrency.
|
![]() | Durability |
The level of durability that the operation achieved
|
![]() | Exception |
If Success is false and an exception has been caught internally, this field will contain the exception.
|
![]() | Id |
Gets the id or key for the document.
|
![]() | Message |
If Success is false, the reason why the operation failed.
|
![]() | Status |
The status returned from the Couchbase Server after an operation.
|
![]() | Success |
True if the operation succeeded.
|
![]() | Token |
Gets the mutation token for the operation if enhanced durability is enabled.
|

If Success is false, use the Message property to help determine the reason.
