title: How do you access the dead letter sub-queue on an Azure subscription?
body: <p>When I use the following:</p>
  
  
  
  <pre class="lang-cs prettyprint-override"><code>var deadLetterPath = SubscriptionClient.FormatDeadLetterPath(topicPath,subName);
  var client = SubscriptionClient.CreateFromConnectionString(connectionString, deadLetterPath, subName);
  </code></pre>
  
  <p>I get an InvalidOperationException </p>
  
  <blockquote>
    <p>Cannot directly create a client on a sub-queue. Create a client on the
    main queue and use that to create receivers on the appropriate
    sub-queue</p>
  </blockquote>
  
  <p>Some parts of the azure documentation say to use SubscriptionClient.CreateReceiver to access a sub-queue but that method doesn't exist. </p>