Couchbase .NET SDK | 3.7.2
Search Results for

    Show / Hide Table of Contents

    Interface ITryTouchResult

    Provides an interface for 'touching' a document, but instead of throwing DocumentNotFoundException exception if the document key is not found, allows for the existence to be checked via Exists.

    Namespace: Couchbase.KeyValue
    Assembly: Couchbase.NetClient.dll
    Syntax
    public interface ITryTouchResult

    Properties

    | Edit this page View Source

    DocumentExists

    If false, the document does not exist on the server for a given key.

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

    Exists

    If false, the document does not exist on the server for a given key.

    Declaration
    [Obsolete("Use DocumentExists instead")]
    bool Exists { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    MutationResult

    The mutation result containing the Cas value after the Touch operation. If Exists is false, this will be empty.

    Declaration
    IMutationResult? MutationResult { get; }
    Property Value
    Type Description
    IMutationResult
    • Edit this page
    • View Source
    In this article
    Back to top © 2025 Couchbase, Inc.