Click or drag to resize
IDocumentResult Interface
The return type for "document" centric operation requests that do not return documents - e.g. remove

Namespace:  Couchbase
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.5.7-alpha1
Syntax
public interface IDocumentResult : IResult

The IDocumentResult type exposes the following members.

Properties
  NameDescription
Public propertyException
If Success is false and an exception has been caught internally, this field will contain the exception.
(Inherited from IResult.)
Public propertyId
Gets the id or key for the document.
Public propertyMessage
If the operation wasn't succesful, a message indicating why it was not succesful.
(Inherited from IResult.)
Public propertyStatus
The response status returned by the server when fulfilling the request.
Public propertySuccess
Returns true if the operation was succesful.
(Inherited from IResult.)
Top
Methods
  NameDescription
Public methodShouldRetry
If the response indicates the request is retryable, returns true.
(Inherited from IResult.)
Top
Extension Methods
  NameDescription
Public Extension MethodEnsureSuccess
Throws a CouchbaseKeyValueResponseException on any error.
(Defined by ResponseExtensions.)
Top
See Also