Couchbase .NET SDK __CB_SDK_VERSION__

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.ToString()
CouchbaseException.Context
Exception.GetBaseException()
Exception.GetType()
Exception.TargetSite
Exception.Message
Exception.Data
Exception.InnerException
Exception.HelpLink
Exception.Source
Exception.HResult
Exception.StackTrace
Exception.SerializeObjectState
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Couchbase.Core.Exceptions
Assembly: Couchbase.NetClient.dll
Syntax
public class CasMismatchException : CouchbaseException, ISerializable

Constructors

View Source

CasMismatchException()

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