OperationResult Class |
Namespace: Couchbase.Core.IO.Operations
public class OperationResult : IOperationResult, IResult
The OperationResult type exposes the following members.
| Name | Description | |
|---|---|---|
| OperationResult | Initializes a new instance of the OperationResult class |
| 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.
| |
| OpCode |
Gets the OpCode for the operation.
| |
| 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.
|
| Name | Description | |
|---|---|---|
| IsNmv |
Checks if the server responded with a Not My Vbucket.
| |
| ShouldRetry | ||
| ToString |
Returns a String that represents this instance.
(Overrides ObjectToString.) |