NSUrlSession.GetTasks(NSUrlSessionPendingTasks) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Attention
Use GetTasks2 instead. This method may throw spurious InvalidCastExceptions, in particular for backgrounded tasks.
Demande les groupes de tâches en attente (données, chargements et téléchargements).
[Foundation.Export("getTasksWithCompletionHandler:")]
[System.Obsolete("Use GetTasks2 instead. This method may throw spurious InvalidCastExceptions, in particular for backgrounded tasks.", false)]
public virtual void GetTasks (Foundation.NSUrlSessionPendingTasks completionHandler);
abstract member GetTasks : Foundation.NSUrlSessionPendingTasks -> unit
override this.GetTasks : Foundation.NSUrlSessionPendingTasks -> unit
Paramètres
- completionHandler
- NSUrlSessionPendingTasks
Méthode à appeler lorsque les informations sur les tâches sont prêtes.
- Attributs