Microsoft.Azure.Amqp.Framing.Transfer.ToString C# (CSharp) Method

ToString() public method

public ToString ( ) : string
return string
        public override string ToString()
        {
            StringBuilder sb = new StringBuilder("transfer(");
            int count = 0;
            this.AddFieldToString(this.Handle != null, sb, "handle", this.Handle, ref count);
            this.AddFieldToString(this.DeliveryId != null, sb, "delivery-id", this.DeliveryId, ref count);
            this.AddFieldToString(this.DeliveryTag.Array != null, sb, "delivery-tag", this.DeliveryTag, ref count);
            this.AddFieldToString(this.MessageFormat != null, sb, "message-format", this.MessageFormat, ref count);
            this.AddFieldToString(this.Settled != null, sb, "settled", this.Settled, ref count);
            this.AddFieldToString(this.More != null, sb, "more", this.More, ref count);
            this.AddFieldToString(this.RcvSettleMode != null, sb, "rcv-settle-mode", this.RcvSettleMode, ref count);
            this.AddFieldToString(this.State != null, sb, "state", this.State, ref count);
            this.AddFieldToString(this.Resume != null, sb, "resume", this.Resume, ref count);
            this.AddFieldToString(this.Aborted != null, sb, "aborted", this.Aborted, ref count);
            this.AddFieldToString(this.Batchable != null, sb, "batchable", this.Batchable, ref count);
            sb.Append(')');
            return sb.ToString();
        }