foreach (string mul in masterurlList)
{
HtmlWeb hwObject = new HtmlWeb();
HtmlAgilityPack.HtmlDocument htmldocObject = hwObject.Load(mul);
List<string> hrefTags = new List<string>();
try
{
hrefTags = ExtractAllAHrefTags(htmldocObject);
}
catch (Exception)
{ }
J'ai déjà un catch (exception) dans mon code, mais ce qui se passe je me WebException était sur unhandled HtmlAgilityPack.HtmlDocument htmldocObject = hwObject.Load (mul). Le nom distant n'a pas pu être résolu: 'www.eonline.com'exception C HTMLagilitypack aide
Je ne peux pas me débarrasser de l'essai et attraper que j'ai, et si je développe ma zone d'essai je perds toutes mes ficelles. toute aide serait géniale! Et je sais que mon DNS est bon