11 2015 档案
摘要:C#多线程中的异常处理 http://www.cnblogs.com/cheesebar/p/6550887.html http://blog.csdn.net/tianmuxia/article/details/17675681 http://www.cnblogs.com/CreateMysel
阅读全文
摘要:参考资料: WinForm中新开一个线程操作 窗体上的控件(跨线程操作控件) c# 使用定时器Timer C#综合揭秘——细说多线程(上) C#综合揭秘——细说进程、应用程序域与上下文之间的关系
阅读全文
摘要:(一) 同步调用 委托的Invoke方法用来进行同步调用。同步调用也可以叫阻塞调用,它将阻塞当前线程,然后执行调用,调用完毕后再继续向下进行。 (二) 异步调用 异步调用不阻塞线程,而是把调用塞到线程池中,程序主线程或UI线程可以继续执行。委托的异步调用通过BeginInvoke和EndInvoke
阅读全文
摘要:参考资料: [TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]public object Invoke(Delegate method)
阅读全文