title: WCF modifying ReaderQuotas for HttpTransportBindingElement in CustomBinding
body: <p>The <code>BasicHttpBinding</code> class has a <code>ReaderQuotas</code> property that you can access to override attributes such as <code>MaxArrayLength</code>, <code>MaxBytesPerRead</code>, etc.</p>
  
  <p>How can I access <code>ReaderQuotas</code> to achieve the same thing when using an <code>HttpTransportBindingElement</code> within a <code>CustomBinding</code> instead of <code>BasicHttpBinding</code>?</p>
  
  <p>i.e.:</p>
  
  <pre><code>var bindingElement = new HttpTransportBindingElement();
  bindingElement.MaxBufferSize = 65536; // works
  bindingElement.ReaderQuotas.MaxArrayLength = 65536; // error no ReaderQuotas member
  
  var binding = new CustomBinding(bindingElements);
  binding .ReaderQuotas.MaxArrayLength = 65536; // also no ReaderQuotas member
  </code></pre>
  
  <p>Thanks in advance for your help.</p>