Couchbase .NET SDK | 3.7.0
Search Results for

    Show / Hide Table of Contents

    Interface ITryGetResult

    Provides an interface for supporting the state of a document if the server returns a KeyNotFound status, as opposed to throwing a DocumentNotFoundException like in the regular GetAsync methods.

    Inherited Members
    IGetResult.ContentAs<T>()
    IGetResult.Expiry
    IGetResult.ExpiryTime
    IResult.Cas
    IDisposable.Dispose()
    Namespace: Couchbase.KeyValue
    Assembly: Couchbase.NetClient.dll
    Syntax
    public interface ITryGetResult : IGetResult, IResult, IDisposable

    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
    In this article
    Back to top © 2025 Couchbase, Inc.