System::Threading::Tasks::Task::Cancel 方法

Task::Cancel method

将任务标记为已取消并结束任务。

void System::Threading::Tasks::Task::Cancel()

另见