IOperationResult Interface |
Namespace: Couchbase
The IOperationResult type exposes the following members.
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.
(Inherited from IResult.) | |
Id |
Gets the id or key for the document.
| |
Message |
If the operation wasn't succesful, a message indicating why it was not succesful.
(Inherited from IResult.) | |
OpCode |
Gets the op code.
| |
Status |
The server's response status for the operation.
| |
Success |
Returns true if the operation was succesful.
(Inherited from IResult.) | |
Token |
Gets the mutation token for the operation if enhanced durability is enabled.
|
Name | Description | |
---|---|---|
IsNmv |
Checks if the server responded with a Not My Vbucket.
| |
ShouldRetry |
If the response indicates the request is retryable, returns true.
(Inherited from IResult.) |
Name | Description | |
---|---|---|
EnsureSuccess |
Throws a CouchbaseKeyValueResponseException on any error.
(Defined by ResponseExtensions.) |