 reported as a failure.

<h4>Example</h4>

<div class="code"><pre class="prettyprint">
[Test, Maxtime(2000)]
public void TimedTest()
{
    ...
}
</pre></div>

<h4>Notes:</h4>

<ol>
<li>Any assertion failures take precedence over the elapsed time check.
<li>This attribute does not cancel the test if the time
is exceeded. It merely waits for the test to complete and then
compares the elapsed time to the specified maximum. If you want to
cancel long-running tests, see <a href="timeout.html">TimeoutAttribute</a