Condividi tramite


BackgroundDownloader.SuccessToastNotification Proprietà

Definizione

Ottiene o imposta toastNotification che definisce il contenuto, i metadati associati e gli eventi usati in una notifica di tipo avviso popup per indicare l'esito positivo di un download all'utente.

public:
 property ToastNotification ^ SuccessToastNotification { ToastNotification ^ get(); void set(ToastNotification ^ value); };
ToastNotification SuccessToastNotification();

void SuccessToastNotification(ToastNotification value);
public ToastNotification SuccessToastNotification { get; set; }
var toastNotification = backgroundDownloader.successToastNotification;
backgroundDownloader.successToastNotification = toastNotification;
Public Property SuccessToastNotification As ToastNotification

Valore della proprietà

ToastNotification usato per indicare l'esito positivo del download.

Commenti

Un'app che usa Windows.Networking.BackgroundTransfer per comunicare tramite una notifica di tipo avviso popup deve dichiarare che è compatibile con avviso popup nel file manifesto dell'app. L'impostazione In grado di avviso popup si trova nella sezione Notifiche della scheda Applicazione . Impostare l'opzione Avviso popup su "Sì" in modo che l'app possa ricevere notifiche di tipo avviso popup.

Se l'opzione Popup non è abilitata nel manifesto dell'app, tutte le impostazioni di tipo avviso popup nello spazio dei nomi Windows.Networking.BackgroundTransfer verranno ignorate in modo automatico e non verranno ricevute notifiche di tipo avviso popup dall'app.

Nota

Un utente può disabilitare manualmente o abilitare le notifiche popup per l'app in qualsiasi momento.

Per altre informazioni sulle notifiche di tipo avviso popup, vedere Invio di notifiche di tipo avviso popup e Come acconsentire esplicitamente alle notifiche di tipo avviso popup.

Si applica a

Vedi anche