Freigeben über


UIApplicationDelegate_Extensions.PerformFetch Methode

Definition

Gibt an, dass die Anwendung einen Abrufvorgang starten kann, wenn daten zum Herunterladen vorhanden sind.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void PerformFetch (this UIKit.IUIApplicationDelegate This, UIKit.UIApplication application, Action<UIKit.UIBackgroundFetchResult> completionHandler);
static member PerformFetch : UIKit.IUIApplicationDelegate * UIKit.UIApplication * Action<UIKit.UIBackgroundFetchResult> -> unit

Parameter

This
IUIApplicationDelegate

Die Instanz, auf der diese Erweiterungsmethode ausgeführt wird.

application
UIApplication

Handle to the UIApplication.

completionHandler
Action<UIBackgroundFetchResult>

Rückruf zum Aufrufen, um das Betriebssystem über das Ergebnis des Hintergrundabrufvorgangs zu benachrichtigen.

Attribute

Gilt für: