.net4.5及以后可以使用
Task.Run(() =>{PrintText(requestData);});
.net4.0及以前
new Thread(() => { SendMail("", Email, "", msg); }).Start();
时间: 2024-10-19 09:29:24
.net4.5及以后可以使用
Task.Run(() =>{PrintText(requestData);});
.net4.0及以前
new Thread(() => { SendMail("", Email, "", msg); }).Start();