Show / Hide Table of Contents

Class Error

Defines the details of an error.

Inheritance
System.Object
Described
RestrictedDescribed
DescribedList
Error
Inherited Members
DescribedList.HasField(Int32)
DescribedList.ResetField(Int32)
DescribedList.GetDebugString(String, Object[], Object[])
RestrictedDescribed.Descriptor
Described.Encode(ByteBuffer)
Described.Decode(ByteBuffer)
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()
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX