Back to Devexpress

ToastNotificationsManager.ThrowOnErrors Property

windowsforms-devexpress-dot-xtrabars-dot-toastnotifications-dot-toastnotificationsmanager-847db8b8.md

latest2.1 KB
Original Source

ToastNotificationsManager.ThrowOnErrors Property

Gets or sets whether to throw exceptions that caused notification showing to end prematurely.

Namespace : DevExpress.XtraBars.ToastNotifications

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public DefaultBoolean ThrowOnErrors { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(DefaultBoolean.Default)>
Public Property ThrowOnErrors As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

True to throw exceptions; otherwise, Default or False.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Remarks

You can override the default behavior in the ToastNotificationsManager.Failed event handler using its Throw argument.

See Also

Failed

ToastNotificationsManager Class

ToastNotificationsManager Members

DevExpress.XtraBars.ToastNotifications Namespace