![]() Task output = (LongRunningOperation) output.Wait() Console.WriteLine(output.Status) To wait for single task we can use the Wait method of the Task object. But suppose we have issued a number of asynchronous calls and we want to perform some operation depending on the result of all these calls or may be the result of the any of the calls which executed first. ![]() A long running operation is performed using the asynchronous call and not blocking the current thread. Tasks are used for asynchronous programming. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |