Couchbase .NET SDK __CB_SDK_VERSION__

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

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
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
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.