Couchbase .NET SDK | 3.8.0
Search Results for

    Show / Hide Table of Contents

    Class TransactionReplaceOptionsBuilder

    Inheritance
    object
    TransactionReplaceOptionsBuilder
    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.Config
    Assembly: Couchbase.NetClient.dll
    Syntax
    public class TransactionReplaceOptionsBuilder

    Fields

    | Edit this page View Source

    Default

    This creates a new builder with the default values (if any) for this builder.

    Declaration
    public static TransactionReplaceOptionsBuilder Default
    Field Value
    Type Description
    TransactionReplaceOptionsBuilder

    Methods

    | Edit this page View Source

    Build()

    Builds a new independent instance of TransactionReplaceOptions, based on the current state of this builder. Note that if you call Build multiple times, you will have multiple independent instances of the options.

    Declaration
    public TransactionReplaceOptions Build()
    Returns
    Type Description
    TransactionReplaceOptions

    A TransactionReplaceOptions instance.

    | Edit this page View Source

    Create()

    Creates a new instance of TransactionReplaceOptionsBuilder.

    Declaration
    public static TransactionReplaceOptionsBuilder Create()
    Returns
    Type Description
    TransactionReplaceOptionsBuilder
    | Edit this page View Source

    Span(IRequestSpan)

    Specifies a parent span for any tracing spans this operation creates.

    Declaration
    public TransactionReplaceOptionsBuilder Span(IRequestSpan span)
    Parameters
    Type Name Description
    IRequestSpan span

    The desired parent tracing span.

    Returns
    Type Description
    TransactionReplaceOptionsBuilder
    | Edit this page View Source

    Transcoder(ITypeTranscoder)

    Specify a specific Transcoder to use when performing the transactional GET. If none is specified, we default to JsonTranscoder

    Declaration
    public TransactionReplaceOptionsBuilder Transcoder(ITypeTranscoder transcoder)
    Parameters
    Type Name Description
    ITypeTranscoder transcoder
    Returns
    Type Description
    TransactionReplaceOptionsBuilder
    • Edit this page
    • View Source
    In this article
    Back to top © 2025 Couchbase, Inc.