Task.Run

Task task = Task.Run(() =>
{

});
task.GetAwaiter().OnCompleted(() =>
{

});

猜你喜欢

转载自www.cnblogs.com/simadi/p/12283400.html