cate that an exception is expected.</p>

<p>An handler may be designated for a particular method
using the <b>Handler</b> named parameter.</p>

<div class="code"><pre class="prettyprint">[ExpectedException( Handler="HandlerMethod" )]
public void TestMethod()
{
...
}

public void HandlerMethod( System.Exception ex )
{
...
}</pre></div>

<p>This technique may be
used without implementing <b>IExpectException</b> or in
combination with it. In the latter case, the designated handler
applies to any method that sp