Class AttemptException
Indicates an error during an individual transaction attempt.
Inheritance
AttemptException
Implements
Inherited Members
Namespace: Couchbase.Client.Transactions.Error.Attempts
Assembly: Couchbase.NetClient.dll
Syntax
public class AttemptException : CouchbaseException, ISerializable
Constructors
| Edit this page View SourceAttemptException(AttemptContext, string)
Initializes a new instance of the AttemptException class.
Declaration
public AttemptException(AttemptContext ctx, string msg)
Parameters
Type | Name | Description |
---|---|---|
Attempt |
ctx | The Attempt Context. |
string | msg | The message. |
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 |
---|---|---|
Attempt |
ctx | The AttemptContext. |
string | msg | The message. |
Exception | innerException | The inner exception. |