如果是纯后台service,UI不会直接调用的。
就不用关心这玩意,对吧?
【 在 mingtong (。。。) 的大作中提到: 】
: When an asynchronous method awaits a Task directly, continuation usually occurs in the same thread that created the task, depending on the async context. This behavior can be costly in terms of performance and can result in a deadlock on the UI thread. To avoid these problems, call Task.ConfigureAwait(false).
: --
:
:
--
FROM 125.33.219.*