System::Threading::Tasks::Task::get_IsCompleted 方法

Task::get_IsCompleted method

获取任务是否已完成。

bool System::Threading::Tasks::Task::get_IsCompleted() const

ReturnValue

bool 如果任务已完成(成功、出现错误或已取消),则为 True

另见