.net4.5及以后可以使用

  Task.Run(() =>{PrintText(requestData);});

.net4.0及以前 

new Thread(() => { SendMail("", Email, "", msg); }).Start();

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-31
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-11
  • 2021-09-28
  • 2021-09-14
  • 2021-10-17
  • 2022-12-23
相关资源
相似解决方案