Hi,
感谢你在MSDN论坛发帖。
据我所知begininvoke 是异步调用,你貌似记反了。
从MSDN官方文档里面有这样一句话。
Executes a delegate asynchronously on the thread the
Dispatcher is associated with.
Invoke is synchronous and
BeginInvoke is asynchronous
这地方说明Invoke 是同步的调用,所以时间很长。 你可以尝试使用Begin Invoke 方法。
Best Regards,
Hart
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints
to MSDN Support, feel free to contact MSDNFSF@microsoft.com.