Click or drag to resize

IResult Interface

Default interface for all operation return types.

Namespace:  Couchbase.Core.IO.Operations
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 3.0.0-local-202004010202+047adc0837bfc29c0b8cce4322194a09afd8ea18
Syntax
C#
public interface IResult

The IResult 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.
Public propertyMessage
If the operation wasn't succesful, a message indicating why it was not succesful.
Public propertySuccess
Returns true if the operation was succesful.
Top
Methods
  NameDescription
Public methodShouldRetry
If the response indicates the request is retryable, returns true.
Top
See Also