How to find out which of these sites failed
问题 I have an asyncronous task that goes out to several websites parses some data and returns the data when its finished. In the event that one or more of the websites fail - I need to find out which ones failed. Is this possible? Here is some example code I have: The controller public async Task<ActionResult> Index() { Models.WebSite ws = new Models.WebSite(); List<Task<string>> webList = new List<Task<string>>(); webList.Add(ws.GetWebsiteInfoAsync("http://website1.com")); webList.Add(ws