Quantcast
Viewing all articles
Browse latest Browse all 19

async / await / task

public Task Step1() { return Task.Run (……); } public Task Step2() { return Task.Run (……); }

// Some other class or method... while (!UserPressStop) { public void Controller() { Step1(); Step2(); Task.WaitAll(taskOne, taskTwo); progress.Report("Both task done!"); } }



Reproduce your quesions with ScreenToGif is your choice. 
For IIS: IIS Forum
For WebSite of .NET: ASP.NET Forum
For others: StackExchange
For spam-sender or forum urgent issues, Send your Email at:  forumsfeedback@microsoft.com


Viewing all articles
Browse latest Browse all 19

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>