Show / Hide Table of Contents

Class TransactionRolledBackException

Thrown when a transaction has been rolled back instead of committed. This exception indicates that the work performed within the transaction was not applied, either due to an explicit rollback request, an error during the transaction, or a broker-initiated rollback.

Inheritance
object
Exception
AmqpException
TransactionRolledBackException
Implements
ISerializable
Inherited Members
AmqpException.ExceptionErrorCode
AmqpException.ErrorCode
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
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: CodersRealm.AmqpClient
Assembly: CodersRealm.AmqpClient.dll
Syntax
[Serializable]
public class TransactionRolledBackException : AmqpException, ISerializable

Constructors

TransactionRolledBackException()

Initializes a new instance of the TransactionRolledBackException class.

Declaration
public TransactionRolledBackException()

TransactionRolledBackException(string)

Initializes a new instance of the TransactionRolledBackException class with a specified error message.

Declaration
public TransactionRolledBackException(string message)
Parameters
Type Name Description
string message

The message that describes the error.

TransactionRolledBackException(string, Exception)

Initializes a new instance of the TransactionRolledBackException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Declaration
public TransactionRolledBackException(string message, Exception innerException)
Parameters
Type Name Description
string message

The message that describes the error.

Exception innerException

The exception that is the cause of the current exception.

TransactionRolledBackException(string, string)

Initializes a new instance of the TransactionRolledBackException class with a specified error message and provider-specific error code.

Declaration
public TransactionRolledBackException(string message, string errorCode)
Parameters
Type Name Description
string message

The message that describes the error.

string errorCode

A provider-specific error code associated with the exception.

TransactionRolledBackException(string, string, Exception)

Initializes a new instance of the TransactionRolledBackException class with a specified error message, provider-specific error code, and a reference to the inner exception that is the cause of this exception.

Declaration
public TransactionRolledBackException(string message, string errorCode, Exception innerException)
Parameters
Type Name Description
string message

The message that describes the error.

string errorCode

A provider-specific error code associated with the exception.

Exception innerException

The exception that is the cause of the current exception.

Implements

ISerializable
In this article
Back to top Generated by DocFX