편집

다음을 통해 공유


NSUrlSession.GetAllTasksAsync Method

Definition

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<Foundation.NSUrlSessionTask[]> GetAllTasksAsync ();
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 MonoTouch.Foundation.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