- if (this.ImageDownloaded != null)
- this.ImageDownloaded(this, EventArgs.Empty);
- }
- }, uiScheduler);
+ this.ImageDownloaded?.Invoke(this, EventArgs.Empty);
+ }
+ }
+ catch (HttpRequestException) { }
+ catch (InvalidImageException) { }
+ catch (TaskCanceledException) { }