ToastFailedEventArgs
ToastFailedEventArgs
ToastFailedEventArgs
ToastFailedEventArgs
Class
Definition
Provides the error code that was generated in the process of raising a toast notification.
public : sealed class ToastFailedEventArgs : IToastFailedEventArgspublic sealed class ToastFailedEventArgs : IToastFailedEventArgsPublic NotInheritable Class ToastFailedEventArgs Implements IToastFailedEventArgs// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
Your app receives this class when processing the ToastNotification.Failed event.
Properties
ErrorCode ErrorCode ErrorCode ErrorCode
Gets the error code that was generated in the process of raising a toast notification.
public : HResult ErrorCode { get; }public Exception ErrorCode { get; }Public ReadOnly Property ErrorCode As Exception// You can use this property in JavaScript.
- Value
- HResult Exception Exception Exception
One of the standard system error codes.
- See Also
-
See Also
- Toast notifications sample
- Sending toast notifications from desktop apps sample
- Toast XML schema
- Toast notification overview
- Quickstart: Sending a toast notification
- Quickstart: Sending a toast push notification
- Quickstart: Sending a toast notification from the desktop
- Guidelines and checklist for toast notifications
- How to handle activation from a toast notification
- How to opt in for toast notifications
- How to schedule a toast notification
- How to enable desktop toast notifications through an AppUserModelID
- The toast template catalog
- Toast audio options