title: In WCF, TransportWithMessageCredential security option will ignore HttpClientCredentialType?
body: <p>I read wcf <a href="https://msdn.microsoft.com/en-us/library/system.servicemodel.httpclientcredentialtype(v=vs.110).aspx" rel="nofollow noreferrer">msdn</a>, and know that </p>
  
  <p>MSDN:</p>
  
  <blockquote>
    <p>Note that if SecurityMode is set to TransportWithMessageCredential, then the value of HttpClientCredentialType is <strong>ignored</strong></p>
  </blockquote>
  
  <p>really confusing about this, why the clientCredentialType is ignored ?</p>
  
  <p>that means, if we set UserName to the following configuration clientCredentialType is doing nothing ???? so what is the default value of clientCredentialType when we set the TransportWithMessageCredential security mode ?</p>
  
  <pre><code>&lt;security mode="TransportWithMessageCredential" &gt; 
             &lt;message clientCredentialType="UserName" /&gt; 
          &lt;/security&gt; 
  </code></pre>
  
  <p>Thanks !</p>