Freigeben über


NSUrlSession.GetTasks(NSUrlSessionPendingTasks) Methode

Definition

Achtung

Use GetTasks2 instead. This method may throw spurious InvalidCastExceptions, in particular for backgrounded tasks.

Fordert die Gruppen ausstehender Aufgaben an (Daten, Upload und Downloads).

[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

Parameter

completionHandler
NSUrlSessionPendingTasks

Methode zum Aufrufen, wenn die Informationen zu den Aufgaben bereit sind.

Attribute

Gilt für: