protected virtual void OnRaiseError(RaiseErrorEventArgs e) { IsWatchingStream = false; if (RaiseError != null) RaiseError(this, e); }
void Downloader_RaiseError(object sender, RaiseErrorEventArgs e) { OnNotify(new NotifyEventArgs( string.Format("エラーが発生しました。\r\n{0}", e.ThrowedException.Message))); }