respond with 404 error from asp.net page codebehind
<p>I have a scenario in which I'm <a href="http://www.west-wind.com/weblog/posts/76293.aspx" rel="nofollow">serving a file</a> from codebehind.</p>

<p>which file, depends on request. in some cases there will be no file to serve and I want to return 404 to the browser.</p>

<p>how can I do that from codebehind? is this the correct course of action to show user there's no file available?</p>
