コード例 #1
0
 public override void ShowSyncErrorDialog(string message, Exception e)
 {
     if (Application.Current != null && !Application.Current.Dispatcher.CheckAccess())
     {
         Application.Current.Dispatcher.Invoke(() => SyncErrorDialog.Show(null, new[] { message }, new[] { e }));
         return;
     }
     SyncErrorDialog.Show(null, new[] { message }, new[] { e });
 }
コード例 #2
0
 public override void ShowSyncErrorDialog(string message, string trace)
 {
     if (Application.Current != null && !Application.Current.Dispatcher.CheckAccess())
     {
         Application.Current.Dispatcher.Invoke(() => SyncErrorDialog.Show(null, message, trace));
         return;
     }
     SyncErrorDialog.Show(null, message, trace);
 }