Show / Hide Table of Contents

Class DescribedList

The DescribedList class consist of a descriptor and an AMQP list.

Inheritance
System.Object
Described
RestrictedDescribed
DescribedList
Attach
Begin
Close
DeliveryState
Detach
Dispose
End
Error
Flow
Header
Open
Properties
Source
Target
Transfer
SaslChallenge
SaslInit
SaslMechanisms
SaslOutcome
SaslResponse
Coordinator
Declare
Discharge
Inherited Members
RestrictedDescribed.Descriptor
Described.Encode(ByteBuffer)
Described.Decode(ByteBuffer)
System.Object.ToString()
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.Types
Assembly: Amqp.Net.dll
Syntax
public abstract class DescribedList : RestrictedDescribed

Constructors

DescribedList(Descriptor, Int32)

Initializes the described list object.

Declaration
protected DescribedList(Descriptor descriptor, int fieldCount)
Parameters
Type Name Description
Descriptor descriptor

The descriptor of the concrete described list class.

System.Int32 fieldCount

The number of fields of the concrete described list class.

Methods

GetDebugString(String, Object[], Object[])

Returns a string representing the current object for tracing purpose.

Declaration
protected string GetDebugString(string name, object[] fieldNames, object[] fieldValues)
Parameters
Type Name Description
System.String name

The object name.

System.Object[] fieldNames

The field names.

System.Object[] fieldValues

The field values.

Returns
Type Description
System.String

HasField(Int32)

Examines the list to check if a field is set.

Declaration
public bool HasField(int index)
Parameters
Type Name Description
System.Int32 index

Zero-based offset of the field in the list.

Returns
Type Description
System.Boolean

True if a value is set; otherwise false.

Remarks

The field index can be found in the description of each field.

ResetField(Int32)

Resets the value of a field to null.

Declaration
public void ResetField(int index)
Parameters
Type Name Description
System.Int32 index

Zero-based offset of the field in the list.

Remarks

The field index can be found in the description of each field.

Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX