Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.

See Also