Couchbase .NET SDK | 3.7.2
Search Results for

    Show / Hide Table of Contents

    Class CasMismatchException

    Raised when a comparison between a stored document's CAS does not match the CAS provided by the request indicating the document has been mutated. Each time the document changes its CAS changes. A form of optimistic concurrency.

    Inheritance
    object
    Exception
    CouchbaseException
    CasMismatchException
    Implements
    ISerializable
    Inherited Members
    CouchbaseException.Context
    CouchbaseException.ToString()
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Couchbase.Core.Exceptions
    Assembly: Couchbase.NetClient.dll
    Syntax
    public class CasMismatchException : CouchbaseException, ISerializable

    Constructors

    | Edit this page View Source

    CasMismatchException()

    Declaration
    public CasMismatchException()
    | Edit this page View Source

    CasMismatchException(IErrorContext)

    Declaration
    public CasMismatchException(IErrorContext context)
    Parameters
    Type Name Description
    IErrorContext context

    Implements

    ISerializable

    Extension Methods

    ExceptionExtensions.ResolveRetryReason(CouchbaseException)
    ErrorClassExtensions.Classify(Exception)
    • Edit this page
    • View Source
    In this article
    Back to top © 2025 Couchbase, Inc.