[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Raised when the application receives a toast notification.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Public Event ShellToastNotificationReceived As EventHandler(Of NotificationEventArgs)
public event EventHandler<NotificationEventArgs> ShellToastNotificationReceived
This event is raised only when the application is running in the foreground. Otherwise, the notification is displayed as a toast notification in the shell.
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0