แก้ไข

แชร์ผ่าน


TaskExtensions Class

Definition

Provides a set of static methods for Task.

public ref class TaskExtensions abstract sealed
public static class TaskExtensions
type TaskExtensions = class
Public Module TaskExtensions
Inheritance
TaskExtensions

Methods

Unwrap(Task<Task>)

Creates a proxy Task that represents the asynchronous operation of a Task<Task> (C#) or Task (Of Task) (Visual Basic).

Unwrap<TResult>(Task<Task<TResult>>)

Creates a proxy Task that represents the asynchronous operation of a Task<Task<T>> (C#) or Task (Of Task(Of T)) (Visual Basic).

Applies to

See also