Couchbase .NET SDK | 3.8.0
Search Results for

    Show / Hide Table of Contents

    Class TransactionGetMultiResultBase

    Inheritance
    object
    TransactionGetMultiResultBase
    TransactionGetMultiReplicaFromPreferredServerGroupResult
    TransactionGetMultiResult
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Couchbase.Client.Transactions
    Assembly: Couchbase.NetClient.dll
    Syntax
    public class TransactionGetMultiResultBase

    Methods

    | Edit this page View Source

    ContentAs<T>(int)

    Return content of the result specified by index, as a T.

    Declaration
    public T? ContentAs<T>(int specIndex)
    Parameters
    Type Name Description
    int specIndex

    Index of the result (which matches the index of the specs).

    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    Return type desired

    | Edit this page View Source

    Exists(int)

    Check for the existence of a document at the specified index. Nice to do before calling ContentAs, just to avoid confusion.

    Declaration
    public bool Exists(int specIndex)
    Parameters
    Type Name Description
    int specIndex

    Index of the result (which matches the index of the specs).

    Returns
    Type Description
    bool

    True if the document exists, False otherwise

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Thrown when the index supplied is out of bounds

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