Example #1
0
        //--- Constructors ---

        /// <summary>
        /// Constructor for creating an instance.
        /// </summary>
        /// <param name="messageId">Message ID.</param>
        /// <param name="messageReceipt">Message receipt.</param>
        /// <param name="body">Message body.</param>
        public SqsMessage(SqsMessageId messageId, SqsMessageReceipt messageReceipt, string body)
        {
            this.MessageId      = messageId;
            this.MessageReceipt = messageReceipt;
            this.Body           = body;
        }
Example #2
0
 //--- Constructors ---
 /// <summary>
 /// Constructor for creating an instance.
 /// </summary>
 /// <param name="messageId">Message ID.</param>
 /// <param name="messageReceipt">Message receipt.</param>
 /// <param name="body">Message body.</param>
 public SqsMessage(SqsMessageId messageId, SqsMessageReceipt messageReceipt, string body)
 {
     this.MessageId = messageId;
     this.MessageReceipt = messageReceipt;
     this.Body = body;
 }