Task.Wait

public void Wait();

Description 描述

A blocking wait for the task to complete.