Ce sujet n'a pas encore été évalué - Évaluez ce sujet

BackgroundTaskCanceledEventHandler Delegate

Représente une méthode qui gère l'annulation d'une tâche en arrière-plan.

Syntaxe


var backgroundTaskCanceledEventHandler = function(sender, reason) {
 /* Votre code */
}

Attributs

GuidAttribute("a6c4bac0-51f8-4c57-ac3f-156dd1680c4f")
VersionAttribute(NTDDI_WIN8)

Paramètres

sender

Type: IBackgroundTaskInstance

L'instance de tâche en arrière-plan qui a été annulée.

reason

Type: BackgroundTaskCancellationReason

Raison pour laquelle l'instance de tâche en arrière-plan a été annulée.

Configuration requise

Client minimal pris en charge

Windows 8

Serveur minimal pris en charge

Windows Server 2012

Espace de noms

Windows.ApplicationModel.Background
Windows::ApplicationModel::Background [C++]

Métadonnées

Windows.winmd

 

 

© 2013 Microsoft. Tous droits réservés.