/// <summary> /// Gets the specified URL. /// </summary> /// <param name="url">The URL.</param> /// <returns></returns> public void Load(string url) { for (int retry = 0; retry < Retries; retry++) { try { int httpStatus = 0; ResponseData = HttpClients.GetAsBytes(url, out httpStatus); Success = true; break; } catch (Exception ex) { logger.Error(string.Format("Load url#{0} retry#{1} error.", url, retry), ex); // break; } } }