public static void Main() { SqlConnection_StateChange tc = new SqlConnection_StateChange(); Exception exp = null; try { tc.BeginTest("SqlConnection_StateChange"); tc.run(); } catch(Exception ex){exp = ex;} finally {tc.EndTest(exp);} }
public static void Main() { SqlConnection_StateChange tc = new SqlConnection_StateChange(); Exception exp = null; try { tc.BeginTest("SqlConnection_StateChange"); tc.run(); } catch (Exception ex) { exp = ex; } finally { tc.EndTest(exp); } }