ToastNotificationsManager.Failed Event
Raises when user settings prevent notifications from being delivered.
Namespace: DevExpress.XtraBars.ToastNotifications
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[DXCategory("Behavior")]
public event EventHandler<ToastNotificationFailedEventArgs> Failed
#Event Data
The Failed event's data class is DevExpress.XtraBars.ToastNotifications.ToastNotificationFailedEventArgs.
#Remarks
The Failed
event is raised when the WPN_E_NOTIFICATION_DISABLED COM error occurs. See this article for more information: COM Error Codes. This happens when a user’s operating system settings block notifications from your app.
The Failed
event allows you to display alternative notifications (for example, traditional Alert Windows) if toast notifications are not available.