Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.84 KB

backgrounduploader_failuretoastnotification.md

File metadata and controls

31 lines (21 loc) · 1.84 KB
-api-id -api-type
P:Windows.Networking.BackgroundTransfer.BackgroundUploader.FailureToastNotification
winrt property

Windows.Networking.BackgroundTransfer.BackgroundUploader.FailureToastNotification

-description

Gets or sets the ToastNotification that defines the content, associated metadata, and events used in a toast notification to indicate failure of an upload to the user.

-property-value

The ToastNotification used to indicate upload failure.

-remarks

An app that uses Windows.Networking.BackgroundTransfer to communicate through a toast notification must declare that it is Toast capable in the app manifest file. The Toast capable setting is located under the Notifications section of Application tab. Set the Toast capable option to "Yes" so the app can receive toast notifications.

If Toast capable is not enabled in the app manifest, then any toast settings in the Windows.Networking.BackgroundTransfer namespace will be silently ignored and no toasts notifications will be received by the app.

Note

A user can manually disable or enable toast notifications for your app at any time.

For more information on toast notifications, see Sending toast notifications and How to opt in for toast notifications.

-examples

-see-also

How to opt in for toast notifications, ToastNotification