Class AmqpException
The exception that is thrown when an AMQP error occurs.
Inheritance
System.Object
System.Exception
AmqpException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: Amqp
Assembly: Amqp.Net.dll
Syntax
public sealed class AmqpException : Exception, ISerializable, _Exception
Constructors
AmqpException(Error)
Initializes a new instance of the AmqpException class with the AMQP error.
Declaration
public AmqpException(Error error)
Parameters
Type | Name | Description |
---|---|---|
Error | error | The AMQP Error object. |
AmqpException(String, String)
Initializes a new instance of the AmqpException class with the AMQP error.
Declaration
public AmqpException(string condition, string description)
Parameters
Type | Name | Description |
---|---|---|
System.String | condition | The error condition. |
System.String | description | The error description. |
Properties
Error
Gets the AMQP Error stored in this exception.
Declaration
public Error Error { get; }
Property Value
Type | Description |
---|---|
Error |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception