Couchbase .NET SDK | 3.7.2
Search Results for

    Show / Hide Table of Contents

    Interface IOperationResult

    The primary return type for binary Memcached operations

    Inherited Members
    IResult.Success
    IResult.Message
    IResult.Exception
    IResult.ShouldRetry()
    Namespace: Couchbase.Core.IO.Operations
    Assembly: Couchbase.NetClient.dll
    Syntax
    [Obsolete("This interface is not required and will be removed in a future release.")]
    public interface IOperationResult : IResult

    Properties

    | Edit this page View Source

    Cas

    The 'Check and Set' or 'CAS' value for enforcing optimistic concurrency.

    Declaration
    ulong Cas { get; set; }
    Property Value
    Type Description
    ulong
    | Edit this page View Source

    Durability

    The level of durability that the operation achieved

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

    Id

    Gets the id or key for the document.

    Declaration
    string? Id { get; }
    Property Value
    Type Description
    string

    The identifier.

    | Edit this page View Source

    OpCode

    Gets the op code.

    Declaration
    OpCode OpCode { get; }
    Property Value
    Type Description
    OpCode

    The op code.

    | Edit this page View Source

    Status

    The server's response status for the operation.

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

    Token

    Gets the mutation token for the operation if enhanced durability is enabled.

    Declaration
    MutationToken? Token { get; }
    Property Value
    Type Description
    MutationToken

    The mutation token.

    Remarks

    Note: this is used internally for enhanced durability if supported by the Couchbase server version and enabled by clusterOptions.

    Methods

    | Edit this page View Source

    IsNmv()

    Checks if the server responded with a Not My Vbucket.

    Declaration
    bool IsNmv()
    Returns
    Type Description
    bool

    Returns true if ResponseStatus is a VBucketBelongsToAnotherServer.

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