title: 'System.Threading.ThreadAbortException' in ASP.net page
body: <p>I have the below code in my ASP.net page:</p>
  
  <pre><code>Response.StatusCode = 404
  Response.Write(strResult)
  Response.End()
  </code></pre>
  
  <p>The code above throws "An exception of type 'System.Threading.ThreadAbortException' occurred and was caught."</p>
  
  <p>Can anyone tell me the reason why? And do I solve this.</p>
  
  <p>thanks</p>