title: Adding multiple elements to Azure Queue in a single message
body: <p>I'm interacting with an <code>AzureStorageAccount</code> with  <code>CloudQueueClient</code> similarly to the manner described in <a href="http://msdn.microsoft.com/en-us/library/ee772935.aspx" rel="noreferrer">this msdn example</a></p>
  
  <pre><code>CloudStorageAccount storageAccount = CloudStorageAccount.Parse("some connection string");
  CloudQueueClient queueClient = storageAccount.CreateCloudQueueClient();
  </code></pre>
  
  <p>and to add an element to a queue (with some boiler plate removed):</p>
  
  <pre><code>var queue = queueClient.GetQueueReference("queuename");
  var message = new CloudQueueMessage("myString");
  queue.AddMessageAsync(message);
  </code></pre>
  
  <p>So that means I can add "myString" to my queue. Great. And if I repeatedly call those lines of code I can add "mystring" lots of time. Also good, but inefficient.</p>
  
  <p><strong>How do I add multiple items to the queue in one message?</strong></p>
  
  <p>I've researched this a bit and found <a href="http://msdn.microsoft.com/en-us/library/azure/dd894038.aspx" rel="noreferrer">Entity Group Transactions</a>, which may be a suitable fit. However, this looks very different to what I've been doing and don't really give me any code examples. <strong>Is there any way to use this and continue to use  <code>Microsoft.WindowsAzure.StorageClient</code> libary to construct my messages?</strong></p>