Couchbase .NET SDK | 3.7.2
Search Results for

    Show / Hide Table of Contents

    Class PrependOptions

    Inheritance
    object
    PrependOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Couchbase.KeyValue
    Assembly: Couchbase.NetClient.dll
    Syntax
    public class PrependOptions

    Fields

    | Edit this page View Source

    DefaultReadOnly

    Declaration
    public static readonly PrependOptions.ReadOnly DefaultReadOnly
    Field Value
    Type Description
    PrependOptions.ReadOnly

    Methods

    | Edit this page View Source

    AsReadOnly()

    Declaration
    public PrependOptions.ReadOnly AsReadOnly()
    Returns
    Type Description
    PrependOptions.ReadOnly
    | Edit this page View Source

    CancellationToken(CancellationToken)

    A CancellationToken(CancellationToken) for cooperative cancellation.

    Declaration
    public PrependOptions CancellationToken(CancellationToken token)
    Parameters
    Type Name Description
    CancellationToken token
    Returns
    Type Description
    PrependOptions

    An options instance for chaining.

    | Edit this page View Source

    Cas(ulong)

    Compare and Set value for optimistic locking of a document.

    Declaration
    public PrependOptions Cas(ulong cas)
    Parameters
    Type Name Description
    ulong cas

    A ulong value returned by the server in a previous operation.

    Returns
    Type Description
    PrependOptions

    An options object for chaining.

    | Edit this page View Source

    Deconstruct(out ulong, out ReplicateTo, out PersistTo, out DurabilityLevel, out TimeSpan?, out CancellationToken, out IRetryStrategy?, out IRequestSpan?)

    Declaration
    public void Deconstruct(out ulong cas, out ReplicateTo replicateTo, out PersistTo persistTo, out DurabilityLevel durabilityLevel, out TimeSpan? timeout, out CancellationToken token, out IRetryStrategy? retryStrategy, out IRequestSpan? requestSpan)
    Parameters
    Type Name Description
    ulong cas
    ReplicateTo replicateTo
    PersistTo persistTo
    DurabilityLevel durabilityLevel
    TimeSpan? timeout
    CancellationToken token
    IRetryStrategy retryStrategy
    IRequestSpan requestSpan
    | Edit this page View Source

    Durability(DurabilityLevel)

    The durability level required for persisting a JSON document across the cluster.

    Declaration
    public PrependOptions Durability(DurabilityLevel durabilityLevel)
    Parameters
    Type Name Description
    DurabilityLevel durabilityLevel

    The DurabilityLevel required for persistance.

    Returns
    Type Description
    PrependOptions

    An options instance for chaining.

    | Edit this page View Source

    Durability(PersistTo, ReplicateTo)

    Declaration
    public PrependOptions Durability(PersistTo persistTo, ReplicateTo replicateTo)
    Parameters
    Type Name Description
    PersistTo persistTo
    ReplicateTo replicateTo
    Returns
    Type Description
    PrependOptions
    | Edit this page View Source

    RequestSpan(IRequestSpan)

    Inject an external span which will the be the parent span of the internal span(s).

    Declaration
    public PrependOptions RequestSpan(IRequestSpan span)
    Parameters
    Type Name Description
    IRequestSpan span

    An IRequestSpan

    Returns
    Type Description
    PrependOptions

    An options instance for chaining.

    | Edit this page View Source

    RetryStrategy(IRetryStrategy)

    Inject a custom IRetryStrategy.

    Declaration
    public PrependOptions RetryStrategy(IRetryStrategy retryStrategy)
    Parameters
    Type Name Description
    IRetryStrategy retryStrategy
    Returns
    Type Description
    PrependOptions

    An options instance for chaining.

    | Edit this page View Source

    Timeout(TimeSpan)

    The time in which the operation will timeout if it does not complete.

    Declaration
    public PrependOptions Timeout(TimeSpan timeout)
    Parameters
    Type Name Description
    TimeSpan timeout
    Returns
    Type Description
    PrependOptions

    An options instance for chaining.

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