async void toast_Failed(ToastNotification sender, ToastFailedEventArgs e) { await dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => { rootPage.NotifyUser("The toast encountered an error", NotifyType.ErrorMessage); }); }
private static void ToastFailed(ToastNotification sender, ToastFailedEventArgs e) { Trace.WriteLine("The toast encountered an error."); }
private static void ToastFailed(ToastNotification sender, ToastFailedEventArgs e) { Console.WriteLine("Error."); Environment.Exit(-1); }
protected virtual void OnFailed(ToastNotification sender, ToastFailedEventArgs args) { Failed?.Invoke(sender, args); }
private void ToastFailed(ToastNotification sender, ToastFailedEventArgs args) { }
private void ToastFailed(ToastNotification sender, ToastFailedEventArgs e) { Dispatcher.Invoke(() => { Output.Text = "The toast encountered an error."; }); }
void toast_Failed(ToastNotification sender, ToastFailedEventArgs args) { this.Dispatcher.BeginInvoke(new Action(() => { Activate(); })); }
private void ToastFailed(ToastNotification sender, ToastFailedEventArgs e) { Dispatcher.Invoke(() => { Environment.ExitCode = -1; Close(); }); }
void toast_Failed(ToastNotification sender, ToastFailedEventArgs args) { throw new NotImplementedException(); }