Toast notification callback arguments #4980
-
|
I have this code for my ToastNotifications: Its works fine when my application is running (foreground or background). I can press the Toast in Windows Notification area and I get callback (EventRecordID). But when I close my application AND then press toast notification of this application, I don't have callback alive. The only thing I have is command line parameters like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
I added next code to worker_RunWorkerCompleted: |
Beta Was this translation helpful? Give feedback.
I added next code to worker_RunWorkerCompleted:
Application.Current.Dispatcher.BeginInvoke(DispatcherPriority.Background, (SendOrPostCallback)delegate { ToastNotificationArguments(); }, null);