Share via


NSUrlSession.GetAllTasksAsync Method

Definition

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<Foundation.NSUrlSessionTask[]> GetAllTasksAsync();
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetAllTasksAsync : unit -> System.Threading.Tasks.Task<Foundation.NSUrlSessionTask[]>
override this.GetAllTasksAsync : unit -> System.Threading.Tasks.Task<Foundation.NSUrlSessionTask[]>

Returns

A task that represents the asynchronous GetAllTasks operation. The value of the TResult parameter is an array of NSUrlSessionTask. The base class for data-transfer tasks created by a .

Attributes

Remarks

The GetAllTasksAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to