ToastFailedEventArgs.ErrorCode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the error code that was generated in the process of raising a toast notification.
public:
property HResult ErrorCode { HResult get(); };
HResult ErrorCode();
public System.Exception ErrorCode { get; }
var hResult = toastFailedEventArgs.errorCode;
Public ReadOnly Property ErrorCode As Exception
Property Value
One of the standard system error codes.
Applies to
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