OperationResultT Class |
Namespace: Couchbase
public class OperationResult<T> : OperationResult, IOperationResult<T>, IOperationResult, IResult
The OperationResultT type exposes the following members.
Name | Description | |
---|---|---|
OperationResultT | Initializes a new instance of the OperationResultT class |
Name | Description | |
---|---|---|
Cas |
The 'Check and Set' or 'CAS' value for enforcing optimistic concurrency.
(Inherited from OperationResult.) | |
Durability |
The level of durability that the operation achieved
(Inherited from OperationResult.) | |
Exception |
If Success is false and an exception has been caught internally, this field will contain the exception.
(Inherited from OperationResult.) | |
Id |
Gets the id or key for the document.
(Inherited from OperationResult.) | |
Message |
If Success is false, the reason why the operation failed.
(Inherited from OperationResult.) | |
OpCode |
Gets the OperationCode for the operation.
(Inherited from OperationResult.) | |
Status |
The status returned from the Couchbase Server after an operation.
(Inherited from OperationResult.) | |
Success |
True if the operation succeeded.
(Inherited from OperationResult.) | |
Token |
Gets the mutation token for the operation if enhanced durability is enabled.
(Inherited from OperationResult.) | |
Value |
The value of the key retrieved from Couchbase Server.
|
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.
(Inherited from OperationResult.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ShouldRetry | (Inherited from OperationResult.) | |
ToString |
Returns a String that represents this instance.
(Overrides OperationResultToString.) |
Name | Description | |
---|---|---|
EnsureSuccess |
Throws a CouchbaseKeyValueResponseException on any error.
(Defined by ResponseExtensions.) |