Class Error
Defines the details of an error.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Amqp.Framing
Assembly: Amqp.Net.dll
Syntax
public sealed class Error : DescribedList
Constructors
Error()
Initializes an error object.
Declaration
[Obsolete]
public Error()
Error(Symbol)
Initializes an error object.
Declaration
public Error(Symbol condition)
Parameters
Type | Name | Description |
---|---|---|
Symbol | condition | The error condition (ErrorCode for standard error conditions). |
Properties
Condition
Gets or sets a symbolic value indicating the error condition (index=0).
Declaration
public Symbol Condition { get; set; }
Property Value
Type | Description |
---|---|
Symbol |
Description
Gets or sets the descriptive text about the error condition (index=1).
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Info
Gets or sets the map carrying information about the error condition (index=2).
Declaration
public Fields Info { get; set; }
Property Value
Type | Description |
---|---|
Fields |
Methods
ToString()
Returns a string that represents the current error object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()