摘要: 在同步编程中,一旦出现错误就会抛出异常,我们可以使用try…catch来捕捉异常,而未被捕获的异常则会不断向上传递,形成一个简单而统一的错误处理机制。不过对于异步编程来说,异常处理一直是件麻烦的事情,这也是C#中async/await或是Jscex等异步编程模型的优势之一。但是,同步的错误处理机制, 阅读全文
posted @ 2016-11-23 14:07 海~~D 阅读(9955) 评论(1) 推荐(1) 编辑
摘要: Attributes Note: This table was written back when xUnit.net 1.0 has shipped, and needs to be updated with information regarding the latest versions of 阅读全文
posted @ 2016-11-23 14:01 海~~D 阅读(431) 评论(0) 推荐(0) 编辑