Requests the groups of pending tasks (data, upload and downloads).
Syntax
[Foundation.Export("getTasksWithCompletionHandler:")]
[System.Obsolete("Use GetTasks2 instead. This method may throw spurious InvalidCastExceptions, in particular for backgrounded tasks.", false)]
public virtual
void GetTasks ([ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDNSUrlSessionPendingTasks))]
NSUrlSessionPendingTasks completionHandler)
Parameters
- completionHandler
- Method to invoke when the information about the tasks is ready.
Remarks
Requirements
Namespace: Foundation
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0