Task.Wait

public void Wait();

Description

A blocking wait for the task to complete.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答