The result of an operation.

Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.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.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |

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.
|
![]() | 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.
|

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