void channel_ErrorOccurred(object sender, NotificationChannelErrorEventArgs e) { //System.Diagnostics.Debug.WriteLine(e.GetType().Name + ": " + e.Message); Dispatcher.BeginInvoke(() => MessageBox.Show(e.Message, e.GetType().Name, MessageBoxButton.OK)); }
void channel_ErrorOccurred(object sender, NotificationChannelErrorEventArgs e) { System.Diagnostics.Debug.WriteLine(e.GetType().Name + ": " + e.Message); Dispatcher.BeginInvoke(() => MessageBox.Show(e.Message, e.GetType().Name, MessageBoxButton.OK)); }