摘要: (一) 同步调用 委托的Invoke方法用来进行同步调用。同步调用也可以叫阻塞调用,它将阻塞当前线程,然后执行调用,调用完毕后再继续向下进行。 (二) 异步调用 异步调用不阻塞线程,而是把调用塞到线程池中,程序主线程或UI线程可以继续执行。委托的异步调用通过BeginInvoke和EndInvoke 阅读全文
posted @ 2015-11-01 00:00 李华丽 阅读(482) 评论(0) 推荐(0) 编辑
摘要: 参考资料: [TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]public object Invoke(Delegate method) 阅读全文
posted @ 2015-11-01 00:00 李华丽 阅读(352) 评论(0) 推荐(0) 编辑
AmazingCounters.com