protected void Application_Start(object sender, EventArgs e)
{
time1.Elapsed += new ElapsedEventHandler(time1_Elapsed);
time1.Interval = 1;;
time1.Enabled = true;
}
void time1_Elapsed(object sender, ElapsedEventArgs e)
{
throw new Exception("123");
}
代码如下在Global页中 用VS启动测试得时候能执行,但在iE中输入地址得时候却不执行,怎么在iE中输入地址时能执行啊!
{
time1.Elapsed += new ElapsedEventHandler(time1_Elapsed);
time1.Interval = 1;;
time1.Enabled = true;
}
void time1_Elapsed(object sender, ElapsedEventArgs e)
{
throw new Exception("123");
}
代码如下在Global页中 用VS启动测试得时候能执行,但在iE中输入地址得时候却不执行,怎么在iE中输入地址时能执行啊!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货