Class TransactionAbortedException
Exception type representing the abort of a transaction within a lambda execution block. Signals that the lambda should cease to execute and the current transaction should be aborted.
Namespace: Amazon.QLDB.Driver
Assembly: Amazon.QLDB.Driver.dll
Syntax
public class TransactionAbortedException : QldbTransactionException
Constructors
| Improve this Doc View SourceTransactionAbortedException(String, Boolean)
Initializes a new instance of the TransactionAbortedException class.
Declaration
public TransactionAbortedException(string transactionId, bool isSessionAlive)
Parameters
Type | Name | Description |
---|---|---|
System.String | transactionId | The transaction ID. |
System.Boolean | isSessionAlive | Whether the session is alive. |
TransactionAbortedException(String, Boolean, Exception)
Initializes a new instance of the TransactionAbortedException class.
Declaration
public TransactionAbortedException(string transactionId, bool isSessionAlive, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | transactionId | The transaction ID. |
System.Boolean | isSessionAlive | Whether the session is alive. |
Exception | innerException | The inner exception. |