title: Azure Table Client ListTablesSegmented
body: <p>When I use <code>CloudTableClient.ListTableSegmented</code> to retrieve the tables, I get a weird behaviour when I specify the max number of results to receive. I'm using version 2.0.3 of WindowsAzure.Storage.</p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/windowsazure/jj731923.aspx" rel="nofollow">This help reference</a> says if I use 0 as maxResults, <code>ListTablesSegmented</code> should return the maximum possible number of results, up to 5000. When I use 0 as input the method throws an exception, saying the value should be positive greater than zero, and if I use 4999 or 5000 I get a <code>StorageException</code> with InvalidInput as error code. Everything runs smooth if I use for example 1000, or other values.</p>
  
  <p>Am I doing anything wrong or anyone knows if this is a known bug?
  I didn't find it amongst <a href="http://blogs.msdn.com/b/windowsazurestorage/archive/2012/12/10/updated-known-issues-for-windows-azure-storage-client-library-2-0-for-net-and-windows-runtime.aspx" rel="nofollow">the known issues</a>.</p>