public void TopLevelHandler(object sender, UnhandledExceptionEventArgs e)
{
// Make sure that the test harness knows this exception was thrown
if (this.finallyDelegate != null)
this.finallyDelegate.HandleUnhandledExc(e.ExceptionObject as Exception);
}