Foundation.NSUrlSession.GetTasksAsync Method
Requests the groups of pending tasks (data, upload and downloads).

Syntax

[System.Obsolete("Use GetTasks2 instead. This method may throw spurious InvalidCastExceptions, in particular for backgrounded tasks.", false)]
public virtual System.Threading.Tasks.Task<NSUrlSessionActiveTasks> GetTasksAsync ()

Returns

A task that represents the asynchronous GetTasks operation. The value of the TResult parameter is of type Foundation.NSUrlSessionActiveTasks.

Remarks

Requirements

Namespace: Foundation
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0