Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class AttemptException

Indicates an error during an individual transaction attempt.

Inheritance
object
Exception
CouchbaseException
AttemptException
ActiveTransactionRecordsFullException
AttemptExpiredException
DocumentAlreadyInTransactionException
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.Client.Transactions.Error.Attempts
Assembly: Couchbase.NetClient.dll
Syntax
public class AttemptException : CouchbaseException, ISerializable

Constructors

View Source

AttemptException(AttemptContext, string)

Initializes a new instance of the AttemptException class.

Declaration
public AttemptException(AttemptContext ctx, string msg)
Parameters
Type Name Description
AttemptContext ctx

The Attempt Context.

string msg

The message.

View Source

AttemptException(AttemptContext, string, Exception)

Initializes a new instance of the AttemptException class.

Declaration
public AttemptException(AttemptContext ctx, string msg, Exception innerException)
Parameters
Type Name Description
AttemptContext ctx

The AttemptContext.

string msg

The message.

Exception innerException

The inner exception.

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.