Couchbase .NET SDK | 3.7.2
Search Results for

    Show / Hide Table of Contents

    Interface IResult

    Default interface for all operation return types.

    Namespace: Couchbase.Core.IO.Operations
    Assembly: Couchbase.NetClient.dll
    Syntax
    public interface IResult

    Properties

    | Edit this page View Source

    Exception

    If Success is false and an exception has been caught internally, this field will contain the exception.

    Declaration
    Exception Exception { get; }
    Property Value
    Type Description
    Exception
    | Edit this page View Source

    Message

    If the operation wasn't succesful, a message indicating why it was not succesful.

    Declaration
    string Message { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Success

    Returns true if the operation was succesful.

    Declaration
    bool Success { get; }
    Property Value
    Type Description
    bool
    Remarks

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

    Methods

    | Edit this page View Source

    ShouldRetry()

    If the response indicates the request is retryable, returns true.

    Declaration
    bool ShouldRetry()
    Returns
    Type Description
    bool
    Remarks

    Intended for internal use only.

    • Edit this page
    • View Source
    In this article
    Back to top © 2025 Couchbase, Inc.