TaskFactory.FromAsync与委托的异步调用
摘要:
//异步执行方法private string doo(string a, string b, string c){int i = 10, j = 0, k = 0;try{WriteLog("执行doo", "test1");k = i / j;return "1";}catch (Exception ex){WriteLog("执行doo Error:" + ex.Message, "test1");return "-1";}}protected void btnTest_ 阅读全文
posted @ 2013-04-10 19:01 远大前程 阅读(397) 评论(0) 推荐(0) 编辑